Re-add documentation for Win32 copy syntax for archive_command.
authorBruce Momjian
Sun, 12 Sep 2010 13:47:12 +0000 (13:47 +0000)
committerBruce Momjian
Sun, 12 Sep 2010 13:47:12 +0000 (13:47 +0000)
Backpatch to 9.0.X.

doc/src/sgml/backup.sgml

index b5fe2f84f1bccd5944d610201c0ef8816fba27c2..74bffc0f8db219f11a483ff39f5fe2e511d3867d 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Backup and Restore
@@ -577,7 +577,8 @@ tar -cf backup.tar /usr/local/pgsql/data
     character in the command.  The simplest useful command is something
     like:
 
-archive_command = 'cp -i %p /mnt/server/archivedir/%f </dev/null'
+archive_command = 'cp -i %p /mnt/server/archivedir/%f </dev/null' # Unix
+archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"'           # Windows
 
     which will copy archivable WAL segments to the directory
     /mnt/server/archivedir.  (This is an example, not a