Re: How to check if any WAL file is missing in archive folder

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: How to check if any WAL file is missing in archive folder
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17C1B30B@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на How to check if any WAL file is missing in archive folder  ("ascot.moss@gmail.com" <ascot.moss@gmail.com>)
Ответы Re: How to check if any WAL file is missing in archive folder  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
ascot.moss@gmail.com wrote:
> I am planing to backup archived WAL files from master to another machine, is there a way to check and
> make sure the backup archive file are all good and no any file missing or corrupted?

The only 100% safe way would be to restore them, e.g. with
a standby database.

PostgreSQL 9.3 will also have "xlogdump" which you can run on the WAL file.
If that does not gag, the file is probably ok.

Yours,
Laurenz Albe

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Levenshtein Distance with more than 255 characters
Следующее
От: Szymon Guz
Дата:
Сообщение: Re: Levenshtein Distance with more than 255 characters