Re: physical backup of PostgreSQL

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: physical backup of PostgreSQL
Дата
Msg-id 3.0.5.32.20000626235821.02534640@mail.rhyme.com.au
обсуждение исходный текст
Ответ на physical backup of PostgreSQL  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список pgsql-hackers
At 12:13 26/06/00 +0200, Zeugswetter Andreas SB wrote:
>After further thought I do think that a physical restore of a backup 
>done with e.g. tar and pg_log as first file of backup does indeed work.

Even if the file backup occurs in the middle of a vacuum?

I like the idea of a non-SQL-based backup method, but it would be nice to
see some kind of locking being done to ensure that the backup is a valid
database snapshot. Can some kind of consistent page dump be done? (Rather
than a file copy)

I believe Vadim's future plans involve reuse of data pages - would this
have an impact on backup integrity?

My experience with applying journals to restored databases suggests that
the journals need to be applied to a 'known' state of the database -
usually a snapshot as of a certain TX Seq No.


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Makefile for parser
Следующее
От: Philip Warner
Дата:
Сообщение: Re: Proposal: More flexible backup/restore via pg_dump