diff options
| author | Bruce Momjian <bruce@momjian.us> | 2010-09-12 13:47:19 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2010-09-12 13:47:19 +0000 |
| commit | f499c211d85068514ba76bcbbd55e8d7004b9152 (patch) | |
| tree | 2472483b46e3ecf65624395e79331a658a1ca8af | |
| parent | e266be9110717a6901823de2126c8fce5fe30370 (diff) | |
Re-add documentation for Win32 copy syntax for archive_command.
Backpatch to 9.0.X.
| -rw-r--r-- | doc/src/sgml/backup.sgml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 179dadf3c57..6211868c268 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.156.2.1 2010/08/15 23:04:54 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.156.2.2 2010/09/12 13:47:19 momjian Exp $ --> <chapter id="backup"> <title>Backup and Restore</title> @@ -577,7 +577,8 @@ tar -cf backup.tar /usr/local/pgsql/data character in the command. The simplest useful command is something like: <programlisting> -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 </programlisting> which will copy archivable WAL segments to the directory <filename>/mnt/server/archivedir</>. (This is an example, not a |
