Mirroring a DB (was Re: [GENERAL] \d shows all my tables twice)
Mirroring a DB (was Re: [GENERAL] \d shows all my tables twice)
От:
Karl DeBisschop <kdebisschop@h00a0cc3b7988.ne.mediaone.net>
Дата:
> > By the way, I know about using pg_dump to backup the database and I do > > that. Is there a good way to maintain a second identical copy of the > > database on another machine? Will simply copying the dump over and > > restoring it with psql do the trick? Would I need to delete an old copy > > of the same database first? We have a somewhat slow Internet connection > > to our Linux system's location and it would be nice to have an alternate > > site with the same data. > > We sometimes do: > > pg_dump -o -h