-<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.148 2010/04/01 00:31:00 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.149 2010/04/01 13:52:56 momjian Exp $ -->
<chapter id="backup">
<title>Backup and Restore</title>
add a command to test for the existence of the archive file. For
example, something like:
<programlisting>
-archive_command = 'test ! -e .../%f && cp %p .../%f'
+archive_command = 'test ! -f .../%f && cp %p .../%f'
</programlisting>
works correctly on most Unix variants.
</para>