Re: Combined PITR/pg_dump backups?
От
Tom Lane
Тема
Re: Combined PITR/pg_dump backups?
Дата
Msg-id
17192.1199295752@sss.pgh.pa.us
Ответ на
Combined PITR/pg_dump backups? (Brian Hurt)
Список
Дерево обсуждения
Combined PITR/pg_dump backups? Brian Hurt <bhurt@janestcapital.com>
Re: Combined PITR/pg_dump backups? Tom Lane <tgl@sss.pgh.pa.us>
Brian Hurt writes: > The question I have is: can I do both? Not as in "backing up the > database twice", but as a combined process. What I'm thinking of is the > following process: > - I do normal WAL loging as in PITR. > - When I want to start a backup, I do a pg_start_backup(...), like PITR. > - Instead of taring up the files on the filesystem, I instead do a > pg_dump > - When the pg_dump completes, I do a pg_end_backup(), like PITR. No, this will *not* work. You need an exact file-level image of the database in order to do PITR restore against, and a pg_dump dump cannot recreate that. regards, tom lane
В списке pgsql-novice по дате отправления
От: Greg Cocks
Дата: