Skip to content

Commit 8d7af89

Browse files
committed
Properly document archive/restore command examples on Windows.
ITAGAKI Takahiro
1 parent 25c9de4 commit 8d7af89

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/src/sgml/backup.sgml

Lines changed: 2 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.119 2008/06/23 22:15:17 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.120 2008/07/18 17:33:17 momjian Exp $ -->
22

33
<chapter id="backup">
44
<title>Backup and Restore</title>
@@ -1122,7 +1122,7 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
11221122
when so asked. Examples:
11231123
<programlisting>
11241124
restore_command = 'cp /mnt/server/archivedir/%f "%p"'
1125-
restore_command = 'copy /mnt/server/archivedir/%f "%p"' # Windows
1125+
restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
11261126
</programlisting>
11271127
</para>
11281128
</listitem>

doc/src/sgml/config.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.183 2008/07/10 22:08:17 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.184 2008/07/18 17:33:17 momjian Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -1698,7 +1698,7 @@ SET ENABLE_SEQSCAN TO OFF;
16981698
and only if it succeeds. Examples:
16991699
<programlisting>
17001700
archive_command = 'cp "%p" /mnt/server/archivedir/"%f"'
1701-
archive_command = 'copy "%p" /mnt/server/archivedir/"%f"' # Windows
1701+
archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
17021702
</programlisting>
17031703
</para>
17041704
</listitem>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy