1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-02 09:26:47 +03:00

Fix missed use of "cp -i" in an example, per Fujii Masao.

Also be more careful about markup: use & not just &.
This commit is contained in:
Tom Lane
2011-06-20 16:27:51 -04:00
parent 26996cf78e
commit 66cab2b600

View 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