RE: restoring a PostgreSQL database from one server to another

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






How I can do the redirect the stderror ? I'm sorry I'm just beginning with Postgresql and I don't have experience?!
Thaks



> Date: Wed, 28 Feb 2007 22:33:10 +0100
> From: szajmi@xxxxxxxxx
> To: fedora-list@xxxxxxxxxx
> Subject: Re: retoring a PostgreSQL database from one server to another
>
> On 2/28/07, Beau BOB <man_55@xxxxxxxxxx> wrote:
> > Hi,
> >
> > I have postgresql 7.4.1 and I'm restoring to another server that has
> > postgresql 7.4.6
> >
> > for dumping I'm using :
> > pg_dumpall --clean -h localhost -U postgres -p 5432 > dbfile
> >
> > and for restoring I use many methods:
> > psql -h localhost -U postgres -d template1 -f dbfile
> >
> > and I have this error message when I run the PgAdminIII to connect my data
> > base:
> > "error relation pg_settings not found " & " error relation pg_user not
> > found"
> >
> > and when I use the commands:
> > psql -l
> > ERROR: relation "pg_catalog.pg_user" not found
> >
> > notice that when I make restore , I have many error message about missing
> > relation ;
> >
> > please can anybody help me to resolv my problem
> > thanks for advance
>
> Are you doing the restore as the postgres user?
> Also, it's useful to redirect stderror to a file when doing the
> restore, so you can inspect it later.
>
> Andras
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Exprimez-vous en direct avec Windows Live Messenger ! Windows Live Messenger !
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux