Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id D00F1632454 for ; Thu, 15 Apr 2010 19:41:21 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 68105-10 for ; Thu, 15 Apr 2010 22:41:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 2FF4A632349 for ; Thu, 15 Apr 2010 19:41:11 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 15 Apr 2010 17:41:09 -0500 Message-Id: <4BC74FB30200002500030999@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Thu, 15 Apr 2010 17:41:07 -0500 From: "Kevin Grittner" To: "Frederiko Costa" , Subject: Re: Wal Segment files Backup Strategy for archiving References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/203 X-Sequence-Number: 34297 Frederiko Costa wrote: > Use pg_start_backup(), copy the data/ directory (or the cluster > area), and pg_stop_backup(). It created the first checkpoint > (correct?) Yes. > once the base backup has been made and I change any setting on > this primary server, on postgresql.conf for example, would I have > to redo the procedure and set Pgsql to backup mode if I want to > apply these changes I made updated on standby server or it's just > a matter of transferring the file to the standby server? You can transfer the .conf files, but be careful about the archive settings; you may not want those to be identical on the standby. Also pay attention to memory settings, etc., if the hardware isn't identical. Of course, this is the same with setting it up after you copy a base backup. -Kevin