Cold backup with rsync -- WAL files?

Поиск
Список
Период
Сортировка
От Craig James
Тема Cold backup with rsync -- WAL files?
Дата
Msg-id CAFwQ8rd+oDkLG4KWkux=2jwNinBnuwhY8DH3W-_58MGO1m3=Lg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Cold backup with rsync -- WAL files?  (Scott Whitney <scott@journyx.com>)
Список pgsql-admin
We need a "last chance" offsite backup of our backup server.  Since the backup server isn't accessed by customers, we have the luxury of being able to shut it off briefly once per day. Call server "A" the backup, server "B" is offsite backup-of-backup: The procedure I'd like to implement is:

  server B is always "cold" (Postgres not running)
  while A is running, rsync A --> B
  stop Postgres on A
  rsync A --> B
  restart Postgres on A

My question is: what about the WAL files?  Do I need to rsync them from A to B too, or can/should I just clean out B's WAL directory, or something else?

Thanks,
Craig

В списке pgsql-admin по дате отправления:

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: Base Backups to a remote location
Следующее
От: Giuseppe Broccolo
Дата:
Сообщение: Re: Base Backups to a remote location