PITR and base + full backups - Mailing list pgsql-general

From Joey K.
Subject PITR and base + full backups
Date
Msg-id 467669b30809160846s4d5e55f7w10a56157d4b93aae@mail.gmail.com
Whole thread Raw
Responses Re: PITR and base + full backups  (Alan Hodgson <ahodgson@simkin.ca>)
Re: PITR and base + full backups  (Greg Smith <gsmith@gregsmith.com>)
Re: PITR and base + full backups  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-general
Hello,

Just to be sure of our backups we plan to do a base + full backups (yes, we are overly paranoid)

(1) pg_start_backup(`date`)

(2) perform hot rsync first (while the database is running)
$ rsync -avr pgdata /backup/`date`/

(3) stop pg
 
(4) perform cold rsync
$ rsync -avr --delete pgdata /backup/`date`/

(5) start pg

(6) pg_stop_backup()

This didn't work and not sure if this is supposed to work ;-)

Or should I stick to just plain PITR?

Thanks,
Steve

pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: nightly vacuum
Next
From: Raymond O'Donnell
Date:
Subject: Re: could not open file "pg_subtrans/0014": Invalid argument