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 1epkUM-0002Y1-UT for pgsql-general@arkaria.postgresql.org; Sun, 25 Feb 2018 00:48:27 +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 1epkUL-0001Dd-J8 for pgsql-general@arkaria.postgresql.org; Sun, 25 Feb 2018 00:48:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1epkUL-0001DU-Be for pgsql-general@lists.postgresql.org; Sun, 25 Feb 2018 00:48:25 +0000 Received: from eastrmfepo103.cox.net ([68.230.241.215]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1epkUD-00052i-BF for pgsql-general@lists.postgresql.org; Sun, 25 Feb 2018 00:48:24 +0000 Received: from eastrmimpo110.cox.net ([68.230.241.223]) by eastrmfepo103.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20180225004811.MARE4084.eastrmfepo103.cox.net@eastrmimpo110.cox.net> for ; Sat, 24 Feb 2018 19:48:11 -0500 Received: from [192.168.1.10] ([70.171.109.83]) by eastrmimpo110.cox.net with cox id EooB1x00E1o04Vy01ooBks; Sat, 24 Feb 2018 19:48:11 -0500 X-Authority-Analysis: v=2.2 cv=HL2zLslv c=1 sm=1 tr=0 a=uCHdjGDeLqaieW9t8IbZ6A==:117 a=uCHdjGDeLqaieW9t8IbZ6A==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=T11QR6bd6vIA:10 a=kviXuzpPAAAA:8 a=CJ01v2dvzAOjnoEcihMA:9 a=QEXdDO2ut3YA:10 a=qrIFiuKZe2vaD64auk6j:22 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> <8b083b6c-2774-ffd4-cac1-61affc3996af@cox.net> From: Ron Johnson Message-ID: Date: Sat, 24 Feb 2018 18:48:11 -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 06:40 PM, Stephen Frost wrote: > Ron, > > * Ron Johnson (ron.l.johnson@cox.net) wrote: >> 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. > I would still recommend you use a tool developed specifically for taking > proper PG backups which validates that all WAL generated during a backup > is properly archived, such as pgBackRest, which also makes sure to sync > all the data out to persistent storage and can also operate in parallel > and perform incremental restores. OK.  I'll try to get it installed.  (Lots of paperwork, etc.) -- Angular momentum makes the world go 'round.