Clarify ellipses use in archive_command example, per Josh Kupershmidt.
This commit is contained in:
parent
cba3498596
commit
c2af244021
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.145 2010/03/31 23:35:19 momjian Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.146 2010/03/31 23:39:15 momjian Exp $ -->
|
||||
|
||||
<chapter id="backup">
|
||||
<title>Backup and Restore</title>
|
||||
@ -611,7 +611,7 @@ cp -i pg_xlog/00000001000000A900000065 /mnt/server/archivedir/00000001000000A900
|
||||
add a command to test for the existence of the archive file. For
|
||||
example, something like:
|
||||
<programlisting>
|
||||
archive_command = 'test ! -f .../%f && cp %p .../%f'
|
||||
archive_command = 'test ! -f ... %f && cp %p ... %f'
|
||||
</programlisting>
|
||||
works correctly on most Unix variants.
|
||||
</para>
|
||||
|
Loading…
Reference in New Issue
Block a user