From: Bruce Momjian Date: Fri, 18 Jul 2008 17:33:17 +0000 (+0000) Subject: Properly document archive/restore command examples on Windows. X-Git-Tag: REL8_4_BETA1~1145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d7af89016ad92afc922cfce5d0f93f95d34cf90;p=thirdparty%2Fpostgresql.git 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 3dbc2885779..3f62e8fa5a0 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -1,4 +1,4 @@ - + Backup and Restore @@ -1122,7 +1122,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 d212d084d8c..6e65251746c 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