Properly document archive/restore command examples on Windows.

ITAGAKI Takahiro
REL8_5_ALPHA1_BRANCH
Bruce Momjian 17 years ago
parent 25c9de4d84
commit 8d7af89016
  1. 4
      doc/src/sgml/backup.sgml
  2. 4
      doc/src/sgml/config.sgml

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.119 2008/06/23 22:15:17 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.120 2008/07/18 17:33:17 momjian Exp $ -->
<chapter id="backup">
<title>Backup and Restore</title>
@ -1122,7 +1122,7 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
when so asked. Examples:
<programlisting>
restore_command = 'cp /mnt/server/archivedir/%f "%p"'
restore_command = 'copy /mnt/server/archivedir/%f "%p"' # Windows
restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</programlisting>
</para>
</listitem>

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.183 2008/07/10 22:08:17 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.184 2008/07/18 17:33:17 momjian Exp $ -->
<chapter Id="runtime-config">
<title>Server Configuration</title>
@ -1698,7 +1698,7 @@ SET ENABLE_SEQSCAN TO OFF;
and only if it succeeds. Examples:
<programlisting>
archive_command = 'cp "%p" /mnt/server/archivedir/"%f"'
archive_command = 'copy "%p" /mnt/server/archivedir/"%f"' # Windows
archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
</programlisting>
</para>
</listitem>

Loading…
Cancel
Save