pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Replicate PostgreSQL with rsync
3+ messages / 3 participants
[nested] [flat]

* Replicate PostgreSQL with rsync
@ 2003-11-18 15:15  Jérôme Kestener <jkestener@yahoo.fr>
  0 siblings, 2 replies; 3+ messages in thread

From: Jérôme Kestener @ 2003-11-18 15:15 UTC (permalink / raw)
  To: pgsql-admin


Hello

I am trying to replicate a PostgreSQL database with rsync.

Does anyone have a experience with that?

 

Thanks

 

Jérôme Kestener



Jérôme Kestener
4 rue de l'Europe
Sierck les Bains
Tél : 00333 82.83.72.35
GSM: 00336 03.16.86.95


---------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Replicate PostgreSQL with rsync
@ 2003-11-18 20:03  Gaetano Mendola <mendola@bigfoot.com>
  parent: Jérôme Kestener <jkestener@yahoo.fr>
  1 sibling, 0 replies; 3+ messages in thread

From: Gaetano Mendola @ 2003-11-18 20:03 UTC (permalink / raw)
  To: pgsql-admin; +Cc: Jérôme Kestener <jkestener@yahoo.fr>

Jérôme Kestener wrote:

> Hello
> 
> I am trying to replicate a PostgreSQL database with rsync.
> 
> Does anyone have a experience with that?

No I don't have, but is not a good idea.
if you not stop the service during the mirror....

Regards
Gaetano Mendola





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Replicate PostgreSQL with rsync
@ 2003-11-19 09:29  Sander Steffann <steffann@nederland.net>
  parent: Jérôme Kestener <jkestener@yahoo.fr>
  1 sibling, 0 replies; 3+ messages in thread

From: Sander Steffann @ 2003-11-19 09:29 UTC (permalink / raw)
  To: Jérôme Kestener <jkestener@yahoo.fr>; pgsql-admin

Hi,
  I am trying to replicate a PostgreSQL database with rsync.
  Does anyone have a experience with that?

We wanted to transfer a database to another machine with the minimum amount of downtime. We used rsync to make a copy of the database while PostgreSQL was running. this ofcourse is NOT a consistent copy. Then we shut down the database and we used rsync to copy all the differences from the first machine to the second, to make sure that the second machine had a consistent database.



You'll have to shutdown the database to make the final transfer, but you can use rsync to do a lot of work while the database is still running.



Good luck,

Sander.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-11-19 09:29 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-18 15:15 Replicate PostgreSQL with rsync Jérôme Kestener <jkestener@yahoo.fr>
2003-11-18 20:03 ` Gaetano Mendola <mendola@bigfoot.com>
2003-11-19 09:29 ` Sander Steffann <steffann@nederland.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox