Properly document archive/restore command examples on Windows.
authorBruce Momjian <bruce@momjian.us>
Fri, 18 Jul 2008 17:33:40 +0000 (17:33 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 18 Jul 2008 17:33:40 +0000 (17:33 +0000)
ITAGAKI Takahiro

doc/src/sgml/backup.sgml
doc/src/sgml/config.sgml

index 4cfe31c36a74ebe5fb52ffa0dc571c51aed3dd7b..c3fe9e76f2d1bd61aa2f02e9f67178a2131f1464 100644 (file)
@@ -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>
index fd672e2cf12a40f8386ff25ce564b53cf5c1df43..7acea74eb12715ec91eb1af1ed8e675e338838a8 100644 (file)
@@ -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>