From: Bruce Momjian Date: Sun, 12 Sep 2010 13:47:19 +0000 (+0000) Subject: Re-add documentation for Win32 copy syntax for archive_command. X-Git-Tag: REL9_0_0~14 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f499c211d85068514ba76bcbbd55e8d7004b9152;p=users%2Fc2main%2Fpostgres.git Re-add documentation for Win32 copy syntax for archive_command. Backpatch to 9.0.X. --- diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 179dadf3c5..6211868c26 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -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