Re: BUG #4548: Documentation Contradiction for 8.3

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #4548: Documentation Contradiction for 8.3
Дата
Msg-id 200811242355.18257.peter_e@gmx.net
обсуждение исходный текст
Ответ на BUG #4548: Documentation Contradiction for 8.3  ("Barry Reddy" <barryreddy@gmail.com>)
Список pgsql-bugs
On Monday 24 November 2008 23:37:02 Barry Reddy wrote:
> Can anyone clarify if this apparent contradiction is an oversight ? =C2=
=A0Old
> documentation with new archiving documentation patched on, with no
> attention paid to the seeming contradiction on guidelines for filesystem
> backups of a running PG database ?

It is not trivial to understand the difference.  Perhaps the documentation=
=20
doesn't make that entirely clear.

When you do a base backup with archiving on, that backup is only usable=20
together with the WAL segments that were written while the backup mode was=
=20
active.

So you can either make a backup: shutdown, tar, start
And then recover with: shutdown, untar, start

Or make a backup: pg_start_backup, tar, pg_stop_backup
And then recover with: shutdown, untar, recovery

In particular, it will *not* work to do:

Backup: pg_start_backup, tar, pg_stop_backup
Restore: shutdown, untar, start

So if you read both sections separately, they are correct.  It is only the=
=20
partial overlap in the otherwise diffferent procedures that is confusing.

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

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: BUG #4548: Documentation Contradiction for 8.3
Следующее
От: "Clemens Fischer"
Дата:
Сообщение: BUG #4549: ecpg produces code that don't compile