mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Don't try aligning comments for new archive_command Win32 doc example;
it doesn't work. Backpatch to 9.0.X.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.156.2.2 2010/09/12 13:47:19 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.156.2.3 2010/09/13 01:35:54 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="backup">
|
<chapter id="backup">
|
||||||
<title>Backup and Restore</title>
|
<title>Backup and Restore</title>
|
||||||
@ -577,8 +577,8 @@ tar -cf backup.tar /usr/local/pgsql/data
|
|||||||
character in the command. The simplest useful command is something
|
character in the command. The simplest useful command is something
|
||||||
like:
|
like:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
archive_command = 'cp -i %p /mnt/server/archivedir/%f </dev/null' # Unix
|
archive_command = 'cp -i %p /mnt/server/archivedir/%f </dev/null' # Unix
|
||||||
archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
|
archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
|
||||||
</programlisting>
|
</programlisting>
|
||||||
which will copy archivable WAL segments to the directory
|
which will copy archivable WAL segments to the directory
|
||||||
<filename>/mnt/server/archivedir</>. (This is an example, not a
|
<filename>/mnt/server/archivedir</>. (This is an example, not a
|
||||||
|
Reference in New Issue
Block a user