<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>We have done this:</p>
<p><br>
</p>
<p>1) run pg_start_backup on the master</p>
<p>2) rsync the data</p>
<p>3) run pg_stop_backup on the master</p>
<p><br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 11/27/2017 10:49 AM, Giancarlo Celli
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAD57xQ49R2O4ZvMC3p_EWd7bCtrC0Whin5O37AMz46Y+yCrRQA@mail.gmail.com">
<div dir="ltr"><span
style="color:rgb(85,85,85);font-family:"Segoe
UI",Tahoma,Helvetica,sans-serif;font-size:13px">Hi,</span>
<div>
<div style="color:rgb(85,85,85);font-family:"Segoe
UI",Tahoma,Helvetica,sans-serif;font-size:13px"><span
id="gmail-noHighlight_0.8601626781036364">I have a db of
several GB. Currently to transform an old primary server
to </span>become a new standby server I use Pg_basebackup
erasing first the PD_DATA. But in this case the copy of the
entire DB takes a long time. </div>
<div style="color:rgb(85,85,85);font-family:"Segoe
UI",Tahoma,Helvetica,sans-serif;font-size:13px">Using
rsync would it be possible to avoid deleting the previous
PG_DATA and making a copy of only the new data?</div>
</div>
<div style="color:rgb(85,85,85);font-family:"Segoe
UI",Tahoma,Helvetica,sans-serif;font-size:13px">Thanks!</div>
<div style="color:rgb(85,85,85);font-family:"Segoe
UI",Tahoma,Helvetica,sans-serif;font-size:13px">Best
regards.</div>
<div style="color:rgb(85,85,85);font-family:"Segoe
UI",Tahoma,Helvetica,sans-serif;font-size:13px"><br>
</div>
<div style="color:rgb(85,85,85);font-family:"Segoe
UI",Tahoma,Helvetica,sans-serif;font-size:13px">Giancarlo</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pgpool-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a>
<a class="moz-txt-link-freetext" href="http://www.pgpool.net/mailman/listinfo/pgpool-general">http://www.pgpool.net/mailman/listinfo/pgpool-general</a>
</pre>
</blockquote>
<br>
</body>
</html>