Skip to content

Commit 66cab2b

Browse files
committed
Fix missed use of "cp -i" in an example, per Fujii Masao.
Also be more careful about markup: use & not just &.
1 parent 26996cf commit 66cab2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/backup.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ tar -cf backup.tar /usr/local/pgsql/data
530530
character in the command. The simplest useful command is something
531531
like
532532
<programlisting>
533-
archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' # Unix
533+
archive_command = 'test ! -f /mnt/server/archivedir/%f &amp;&amp; cp %p /mnt/server/archivedir/%f' # Unix
534534
archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
535535
</programlisting>
536536
which will copy archivable WAL segments to the directory

0 commit comments

Comments
 (0)