From jkestener@yahoo.fr Tue Nov 18 15:15:46 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1D8CED1C95E for ; Tue, 18 Nov 2003 15:15:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 45489-08 for ; Tue, 18 Nov 2003 11:15:17 -0400 (AST) Received: from web40809.mail.yahoo.com (web40809.mail.yahoo.com [66.218.78.186]) by svr1.postgresql.org (Postfix) with SMTP id 151DCD1BB4A for ; Tue, 18 Nov 2003 11:15:13 -0400 (AST) Message-ID: <20031118151516.32249.qmail@web40809.mail.yahoo.com> Received: from [194.154.200.89] by web40809.mail.yahoo.com via HTTP; Tue, 18 Nov 2003 16:15:16 CET Date: Tue, 18 Nov 2003 16:15:16 +0100 (CET) From: =?iso-8859-1?q?J=E9r=F4me=20Kestener?= Subject: Replicate PostgreSQL with rsync To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1217079648-1069168516=:31124" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/341 X-Sequence-Number: 11328 --0-1217079648-1069168516=:31124 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 --0-1217079648-1069168516=:31124 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit

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 --0-1217079648-1069168516=:31124-- From mendola@bigfoot.com Tue Nov 18 20:04:59 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1CD2AD1B550 for ; Tue, 18 Nov 2003 20:04:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 99459-10 for ; Tue, 18 Nov 2003 16:04:29 -0400 (AST) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id 47BF1D1B503 for ; Tue, 18 Nov 2003 16:04:26 -0400 (AST) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id hAIK7T914904; Tue, 18 Nov 2003 21:07:29 +0100 Received: from bigfoot.com (accesspoint.mm.eutelsat.org [194.214.173.4]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id hAIJrrR07553; Tue, 18 Nov 2003 20:53:53 +0100 Message-ID: <3FBA7B13.6090400@bigfoot.com> Date: Tue, 18 Nov 2003 21:03:31 +0100 From: Gaetano Mendola User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Cc: =?ISO-8859-1?Q?J=E9r=F4me_Kestener?= Subject: Re: Replicate PostgreSQL with rsync References: <20031118151516.32249.qmail@web40809.mail.yahoo.com> In-Reply-To: <20031118151516.32249.qmail@web40809.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/342 X-Sequence-Number: 11329 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 From steffann@nederland.net Wed Nov 19 09:30:08 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3BB28D1D722 for ; Wed, 19 Nov 2003 09:30:08 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 40400-02 for ; Wed, 19 Nov 2003 05:29:39 -0400 (AST) Received: from echo.computel.nl (echo.computel.nl [195.86.134.74]) by svr1.postgresql.org (Postfix) with ESMTP id 86F91D1D630 for ; Wed, 19 Nov 2003 05:29:36 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by echo.computel.nl (Postfix) with SMTP id 6C2089DAF; Wed, 19 Nov 2003 10:29:22 +0100 (CET) X-AV-Checked: Wed Nov 19 10:29:22 2003 www.nederland.net Received: from balefirehome (balefire.demon.nl [212.238.240.59]) by echo.computel.nl (Postfix) with ESMTP id CC5319DA0; Wed, 19 Nov 2003 10:29:21 +0100 (CET) Message-ID: <003801c3ae7f$9d8dc760$64c8a8c0@10ww.steffann.nl> From: "Sander Steffann" To: =?iso-8859-1?Q?J=E9r=F4me_Kestener?= , References: <20031118151516.32249.qmail@web40809.mail.yahoo.com> Subject: Re: Replicate PostgreSQL with rsync Date: Wed, 19 Nov 2003 10:29:21 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0035_01C3AE87.FEEE1660" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_50_60, REFERENCES X-Spam-Level: X-Archive-Number: 200311/346 X-Sequence-Number: 11333 This is a multi-part message in MIME format. ------=_NextPart_000_0035_01C3AE87.FEEE1660 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 mach= ine to the second, to make sure that the second machine had a consistent da= tabase. You'll have to shutdown the database to make the final transfer, but you ca= n use rsync to do a lot of work while the database is still running. Good luck, Sander. ------=_NextPart_000_0035_01C3AE87.FEEE1660 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
I= am=20 trying to replicate a PostgreSQL database with rsync.

D= oes=20 anyone have a experience with that?

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

 

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

 

Goo= d=20 luck,

San= der.

 

------=_NextPart_000_0035_01C3AE87.FEEE1660--