PITR and base + full backups

Поиск
Список
Период
Сортировка
От Joey K.
Тема PITR and base + full backups
Дата
Msg-id 467669b30809160846s4d5e55f7w10a56157d4b93aae@mail.gmail.com
обсуждение исходный текст
Ответы Re: PITR and base + full backups
Re: PITR and base + full backups
Re: PITR and base + full backups
Список 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 по дате отправления:

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: nightly vacuum
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: could not open file "pg_subtrans/0014": Invalid argument