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

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

index 3dbc288577978e541ae619a4eab376e7dfa59e1a..3f62e8fa5a00479fb3a054f47cd2674a65a7e099 100644 (file)
@@ -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>
index d212d084d8c138b41f214e1ad0a2bde538b605a2..6e65251746cbbb3539182adcb438c6d012ad96f2 100644 (file)
@@ -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>