Re: backup strategies

Поиск
Список
Период
Сортировка
От Glen Parker
Тема Re: backup strategies
Дата
Msg-id 465CA7C7.6070707@nwlink.com
обсуждение исходный текст
Ответ на backup strategies  ("Richard P. Welty" <rwelty@averillpark.net>)
Список pgsql-general
Richard P. Welty wrote:
> but what are the consequences of backing up a WAL file
> if the archive process (probably scp in this case) is running
> when the backup copy is made? the whole thing won't make it onto
> tape, are there any downsides to running a recover with
> an incomplete WAL file?

The WAL file will obviously be no good.  Just do something like:

cp $WALFILEPATH $ARCHIVE/$WALFILENAME.NEW
mv $ARCHIVE/$WALFILENAME.NEW $ARCHIVE/$WALFILENAME


Then simply exclude "*.NEW" from your backup.


-Glen


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

Предыдущее
От: "Shoaib Mir"
Дата:
Сообщение: Re: monitor stats
Следующее
От: "Diego Fernando Arce"
Дата:
Сообщение: Re: monitor stats