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 717bdc7e47be12ca2a0ce6331bd0860964bde785..a97315c32f2ef6e3dd9786e8f7367acc193cd9e1 100644 (file)
@@ -1106,7 +1106,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 fe02985e1b00ec5cea822c7a3d0bdb28ab103aac..cf992c7fdc395a6faee9927c5aebf39fa4be6a37 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>