From: Bruce Momjian Date: Fri, 18 Jul 2008 17:33:40 +0000 (+0000) Subject: Properly document archive/restore command examples on Windows. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=dbdb162fdc7bd3a0dd3fa16c149eba47604479df;p=users%2Fbernd%2Fpostgres.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 717bdc7e47..a97315c32f 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -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 fe02985e1b..cf992c7fdc 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -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