mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Add a startup check that pg_xlog and pg_xlog/archive_status exist.
If the latter doesn't exist, automatically recreate it. (We don't do this for pg_xlog, though, per discussion.) Jonah Harris
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.120 2008/07/18 17:33:17 momjian Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.121 2008/11/09 17:51:15 tgl Exp $ -->
|
||||
|
||||
<chapter id="backup">
|
||||
<title>Backup and Restore</title>
|
||||
@ -945,8 +945,6 @@ SELECT pg_stop_backup();
|
||||
If you didn't archive <filename>pg_xlog/</> at all, then recreate it,
|
||||
being careful to ensure that you re-establish it as a symbolic link
|
||||
if you had it set up that way before.
|
||||
Be sure to recreate the subdirectory
|
||||
<filename>pg_xlog/archive_status/</> as well.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user