PITR and base + full backups

From: "Joey K(dot)" <pguser(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: PITR and base + full backups
Date: 2008-09-16 15:46:51
Message-ID: 467669b30809160846s4d5e55f7w10a56157d4b93aae@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-09-16 16:45:20 Re: could not open file "pg_subtrans/0014": Invalid argument
Previous Message Bill Moran 2008-09-16 15:28:39 Re: nightly vacuum