Re: [GENERAL] Complete Recovery 9.4.4

2015-12-11 Thread David Steele
On 12/11/15 3:55 PM, Will McCormick wrote: > Basic backup and recovery question. I want to perform complete restore > and recovery using continuous archive mode. > > Lets imagine we have a single table MYTABLE. Here are my high level steps > > 1) Add a record A) to MYTABLE > 2) Take a file syste

Re: [GENERAL] Complete Recovery 9.4.4

2015-12-11 Thread Kevin Grittner
On Fri, Dec 11, 2015 at 3:15 PM, John R Pierce wrote: > 1) Stop PG <- no, instead, execute: select pg_start_backup(); > 2) Make copy of current state including PGDATA w/ pg_xlog <= don't backup > the WAL archives, they are external to the database server, and are written > continuously. > 3) S

Re: [GENERAL] Complete Recovery 9.4.4

2015-12-11 Thread John R Pierce
1) Stop PG <- no, instead, execute: select pg_start_backup(); 2) Make copy of current state including PGDATA w/ pg_xlog <= don't backup the WAL archives, they are external to the database server, and are written continuously. 3) Select pg_stop_backup(); 4) run along until your problem happe

[GENERAL] Complete Recovery 9.4.4

2015-12-11 Thread Will McCormick
Basic backup and recovery question. I want to perform complete restore and recovery using continuous archive mode. Lets imagine we have a single table MYTABLE. Here are my high level steps 1) Add a record A) to MYTABLE 2) Take a file system backup to be used for recovery. This backup includes ar