Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1epkIB-00022q-Sl for pgsql-general@arkaria.postgresql.org; Sun, 25 Feb 2018 00:35:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epkIA-0000WA-OH for pgsql-general@arkaria.postgresql.org; Sun, 25 Feb 2018 00:35:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1epkIA-0000W1-DA for pgsql-general@lists.postgresql.org; Sun, 25 Feb 2018 00:35:50 +0000 Received: from eastrmfepo201.cox.net ([68.230.241.216]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1epkI7-0002pu-Cx for pgsql-general@lists.postgresql.org; Sun, 25 Feb 2018 00:35:48 +0000 Received: from eastrmimpo210.cox.net ([68.230.241.225]) by eastrmfepo201.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20180225003544.ZMVG4103.eastrmfepo201.cox.net@eastrmimpo210.cox.net> for ; Sat, 24 Feb 2018 19:35:44 -0500 Received: from [192.168.1.10] ([70.171.109.83]) by eastrmimpo210.cox.net with cox id Eobj1x00U1o04Vy01objU5; Sat, 24 Feb 2018 19:35:44 -0500 X-Authority-Analysis: v=2.2 cv=DsQmwC3+ c=1 sm=1 tr=0 a=uCHdjGDeLqaieW9t8IbZ6A==:117 a=uCHdjGDeLqaieW9t8IbZ6A==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=T11QR6bd6vIA:10 a=rgfn5ufUZCxpC-cohyMA:9 a=QEXdDO2ut3YA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=ron.l.johnson@cox.net Subject: Re: pg_update to a new machine? To: pgsql-general@lists.postgresql.org References: <09489f15-b756-9e6d-c081-a8cdf0f9b483@cox.net> <74ef8c30-0db7-84ad-b04e-1975fe2977e4@cox.net> From: Ron Johnson Message-ID: <8b083b6c-2774-ffd4-cac1-61affc3996af@cox.net> Date: Sat, 24 Feb 2018 18:35:43 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 02/24/2018 03:10 PM, Stephen Frost wrote: [snip] >> To set up log shipping on 8.4, I do this, which works well: >> >> select pg_start_backup('some_meaningful_tag'); >> nohup rsync -avz /var/lib/pgsql/data/* postgres@${DESTIP}:/var/lib/pgsql/data/ & >> select pg_stop_backup(); > That's not log shipping, for log shipping you need to specify an > archive_command and actually capture all of the WAL generated, or, at a > minimum, the WAL generated between the start and stop backup calls. That's steps #8, 9 and 10 (in our checklist) of setting up log shipping.  Step #4 is configuring the archive_* statements in postgresql.conf. -- Angular momentum makes the world go 'round.