Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit39fa4d0

Browse files
committed
Re-add documentation for Win32 copy syntax for archive_command.
Backpatch to 9.0.X.
1 parent5eb15c9 commit39fa4d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎doc/src/sgml/backup.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.157 2010/08/15 23:04:49 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.158 2010/09/12 13:47:12 momjian Exp $ -->
22

33
<chapter id="backup">
44
<title>Backup and Restore</title>
@@ -577,7 +577,8 @@ tar -cf backup.tar /usr/local/pgsql/data
577577
character in the command. The simplest useful command is something
578578
like:
579579
<programlisting>
580-
archive_command = 'cp -i %p /mnt/server/archivedir/%f &lt;/dev/null'
580+
archive_command = 'cp -i %p /mnt/server/archivedir/%f &lt;/dev/null' # Unix
581+
archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
581582
</programlisting>
582583
which will copy archivable WAL segments to the directory
583584
<filename>/mnt/server/archivedir</>. (This is an example, not a

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp