From 8d7af89016ad92afc922cfce5d0f93f95d34cf90 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 18 Jul 2008 17:33:17 +0000 Subject: [PATCH] Properly document archive/restore command examples on Windows. ITAGAKI Takahiro --- doc/src/sgml/backup.sgml | 4 ++-- doc/src/sgml/config.sgml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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