]> granicus.if.org Git - postgresql/commitdiff
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 abfca73f78559e00a9f10ab8033fdb5bbec01430..69a411478513da2d17c124ba8e5a7b2ba8358530 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.113.2.1 2008/03/07 01:46:50 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.113.2.2 2008/07/18 17:33:40 momjian Exp $ -->
 
 <chapter id="backup">
  <title>Backup and Restore</title>
@@ -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 fa512d8690753586374cdfb95d2f27fca07382d6..253cf8ee03e7ad4c1ca04f46dd834eaa83146398 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.164.2.4 2008/03/11 16:59:09 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.164.2.5 2008/07/18 17:33:40 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>