From: Bruce Momjian Date: Fri, 18 Jul 2008 17:33:40 +0000 (+0000) Subject: Properly document archive/restore command examples on Windows. X-Git-Tag: REL8_3_4~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df22da617324df467251a09e77798a7052417b85;p=postgresql Properly document archive/restore command examples on Windows. ITAGAKI Takahiro --- diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index abfca73f78..69a4114785 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -1,4 +1,4 @@ - + Backup and Restore @@ -1106,7 +1106,7 @@ restore_command = 'cp /mnt/server/archivedir/%f %p' when so asked. Examples: 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 diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index fa512d8690..253cf8ee03 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -1698,7 +1698,7 @@ SET ENABLE_SEQSCAN TO OFF; and only if it succeeds. Examples: 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