mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Mention that transactions can complete in a different numeric order, for
PITR recovery.
This commit is contained in:
parent
ddb25082f3
commit
a1c2ed7b02
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.42 2004/08/04 17:37:09 tgl Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.43 2004/08/07 03:21:11 momjian Exp $
|
||||||
-->
|
-->
|
||||||
<chapter id="backup">
|
<chapter id="backup">
|
||||||
<title>Backup and Restore</title>
|
<title>Backup and Restore</title>
|
||||||
@ -815,12 +815,16 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
|
|||||||
<literal>recovery.conf</>. You can specify the stop point either by
|
<literal>recovery.conf</>. You can specify the stop point either by
|
||||||
date/time or by transaction ID. As of this writing only the date/time
|
date/time or by transaction ID. As of this writing only the date/time
|
||||||
option is very usable, since there are no tools to help you identify
|
option is very usable, since there are no tools to help you identify
|
||||||
which transaction ID to use. Note that the stop point must be after
|
which transaction ID to use. Keep in mind that while transaction
|
||||||
the ending time of the backup (ie, the time of
|
IDs are asigned sequentially at transaction start, transactions can
|
||||||
<function>pg_stop_backup</>). You cannot use a base backup to recover
|
complete in a different numeric order.
|
||||||
to a time when that backup was still going on. (To recover to such
|
</para
|
||||||
a time, you must go back to your previous base backup and roll forward
|
<para>
|
||||||
from there.)
|
Note that the stop point must be after the ending time of the backup
|
||||||
|
(ie, the time of <function>pg_stop_backup</>). You cannot use a base
|
||||||
|
backup to recover to a time when that backup was still going on. (To
|
||||||
|
recover to such a time, you must go back to your previous base backup
|
||||||
|
and roll forward from there.)
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user