Skip site navigation (1) Skip section navigation (2)

confusing archive_command example

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: confusing archive_command example
Date: 2010-03-29 16:34:46
Message-ID: 4ec1cf761003290934l5e61efd3gdbddeeda3c6be185@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-docs
Hi,
On the page:
http://www.postgresql.org/docs/current/interactive/continuous-archiving.html#BACKUP-ARCHIVING-WAL

an example archive_command of:
archive_command = 'cp -i %p /mnt/server/archivedir/%f </dev/null'

is given. Then, a few lines later, an example archive command of:
archive_command = 'test ! -f .../%f && cp %p .../%f'

is given. I think this second command would be more clear if it used
"/mnt/server/archivedir/" instead of "...", to tie in with the
previous archive_command. It took me a minute to figure out that the
three dots were supposed to be an ellipsis instead of a typo for the
parent directory "..".

Josh

Responses

pgsql-docs by date

Next:From: Peter EisentrautDate: 2010-03-29 22:01:19
Subject: Re: include no validation of XML schema in 8.13.1- the XML Type
Previous:From: Fujii MasaoDate: 2010-03-26 13:21:42
Subject: Re: [HACKERS] Incrementally Updated Backups and restartpoints

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group