Fix missed use of "cp -i" in an example, per Fujii Masao.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 20 Jun 2011 20:27:51 +0000 (16:27 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 20 Jun 2011 20:27:51 +0000 (16:27 -0400)
Also be more careful about markup: use &amp; not just &.

doc/src/sgml/backup.sgml

index 611e94911a48da56a664bb8faa550ed2fa0d927b..17b1b6c35c11ede9de925411c716563c0b5749cd 100644 (file)
@@ -530,7 +530,7 @@ tar -cf backup.tar /usr/local/pgsql/data
     character in the command.  The simplest useful command is something
     like
 <programlisting>
-archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'  # Unix
+archive_command = 'test ! -f /mnt/server/archivedir/%f &amp;&amp; cp %p /mnt/server/archivedir/%f'  # Unix
 archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"'  # Windows
 </programlisting>
     which will copy archivable WAL segments to the directory