git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5eb15c9)
Re-add documentation for Win32 copy syntax for archive_command.
2010年9月12日 13:47:12 +0000 (13:47 +0000)
2010年9月12日 13:47:12 +0000 (13:47 +0000)
Backpatch to 9.0.X.


diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml
index b5fe2f84f1bccd5944d610201c0ef8816fba27c2..74bffc0f8db219f11a483ff39f5fe2e511d3867d 100644 (file)
--- 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.157 2010年08月15日 23:04:49 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.158 2010年09月12日 13:47:12 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 &lt;/dev/null'
+archive_command = 'cp -i %p /mnt/server/archivedir/%f &lt;/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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /