Re: WAL files backup

Поиск
Список
Период
Сортировка
Искать
От
Chad Wagner
Тема
Re: WAL files backup
Дата
Msg-id
81961ff50702160334x411e3aeau76ca57c628e0f45e@mail.gmail.com
Ответ на
Re: WAL files backup (Eduardo J. Ortega)
Список
Дерево обсуждения
Re: WAL files backup "Eduardo J. Ortega" <ejortegau@cable.net.co>
Re: WAL files backup pedro noticioso <cucnews@yahoo.com>
Re: WAL files backup "Eduardo J. Ortega" <ejortegau@cable.net.co>
Re: WAL files backup pedro noticioso <cucnews@yahoo.com>
Re: WAL files backup pedro noticioso <cucnews@yahoo.com>
Re: WAL files backup "Eduardo J. Ortega" <ejortegau@cable.net.co>
Re: WAL files backup "Chad Wagner" <chad.wagner@gmail.com>
Re: WAL files backup "Andy Shellam (Mailing Lists)" <andy.shellam-lists@mailnetwork.co.uk>
Re: WAL files backup "Chad Wagner" <chad.wagner@gmail.com>
Re: WAL files backup pedro noticioso <cucnews@yahoo.com>
Re: WAL files backup Alvaro Herrera <alvherre@commandprompt.com>
Re: WAL files backup pedro noticioso <cucnews@yahoo.com>
Re: WAL files backup "Chad Wagner" <chad.wagner@gmail.com>
Re: WAL files backup pedro noticioso <cucnews@yahoo.com>
Re: WAL files backup Alvaro Herrera <alvherre@commandprompt.com>
Re: WAL files backup Tom Lane <tgl@sss.pgh.pa.us>
On 2/15/07, Eduardo J. Ortega <ejortegau@cable.net.co> wrote:
After erasing the "less than  names" WAL files, we add to tar the remaining
WAL records (0003B, 0003C  and so on on the example). The more WAL files you
have after 0003B, the more up to date DB you get after restore (since it has
more WAL files indicating more transactions that took place after the backup.

Why bother trying to delete WAL files older than the .backup file?  When PostgreSQL is in recovery mode it knows which WAL files are necessary to perform the recovery.

Also, the documentation recommends excluding the pg_xlog directory when performing the base backup.  Likely when it comes time to recovery the online WAL files have been archived already, so it is a risk of confusion I am sure.



--
Chad
http://www.postgresqlforums.com/
В списке pgsql-admin по дате отправления
От: Eduardo J. Ortega
Дата:
Сообщение: Re: WAL files backup
От: Andy Shellam (Mailing Lists)
Дата:
Сообщение: Re: WAL files backup
FAQ