aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2010-04-12 19:08:28 +0000
committerBruce Momjian <bruce@momjian.us>2010-04-12 19:08:28 +0000
commit202c655810ed5aa65822cb5b621b47a68550b426 (patch)
tree93e42034ea57a927e63b54404c70e0048c78c9f5
parent30556568f59607f04e712fcc48ffadccea3dfc78 (diff)
downloadpostgresql-202c655810ed5aa65822cb5b621b47a68550b426.tar.gz
postgresql-202c655810ed5aa65822cb5b621b47a68550b426.zip
Spell out full archive directory specification in 'test -f' continuous
archiving example, per suggestion from Greg Smith.
-rw-r--r--doc/src/sgml/backup.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml
index 1007fdc5f28..9dbcb4daa69 100644
--- a/doc/src/sgml/backup.sgml
+++ b/doc/src/sgml/backup.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.150 2010/04/03 07:22:52 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.151 2010/04/12 19:08:28 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 &amp;&amp; cp %p .../%f'
+archive_command = 'test ! -f /mnt/server/archivedir/%f &amp;&amp; cp %p /mnt/server/archivedir/%f'
</programlisting>
works correctly on most Unix variants.
</para>