mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Stress that backup_label file is critical in the docs.
It is surprisingly common mistake to leave out backup_label file from a base backup. Say more explicitly that it must be included. Jeff Janes, with minor rewording by me.
This commit is contained in:
parent
817a89423f
commit
7f03a791fa
@ -826,7 +826,8 @@ SELECT pg_start_backup('label');
|
|||||||
<function>pg_start_backup</> creates a <firstterm>backup label</> file,
|
<function>pg_start_backup</> creates a <firstterm>backup label</> file,
|
||||||
called <filename>backup_label</>, in the cluster directory with
|
called <filename>backup_label</>, in the cluster directory with
|
||||||
information about your backup, including the start time and label
|
information about your backup, including the start time and label
|
||||||
string.
|
string. The file is critical to the integrity of the backup, should
|
||||||
|
you need to restore from it.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -945,9 +946,11 @@ SELECT pg_stop_backup();
|
|||||||
The backup label file includes the label string you gave to
|
The backup label file includes the label string you gave to
|
||||||
<function>pg_start_backup</>, as well as the time at which
|
<function>pg_start_backup</>, as well as the time at which
|
||||||
<function>pg_start_backup</> was run, and the name of the starting WAL
|
<function>pg_start_backup</> was run, and the name of the starting WAL
|
||||||
file. In case of confusion it is
|
file. In case of confusion it is therefore possible to look inside a
|
||||||
therefore possible to look inside a backup dump file and determine
|
backup dump file and determine exactly which backup session the dump file
|
||||||
exactly which backup session the dump file came from.
|
came from. However, this file is not merely for your information; its
|
||||||
|
presence and contents are critical to the proper operation of the system's
|
||||||
|
recovery process.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user