public inbox for [email protected]
help / color / mirror / Atom feedFrom: Fujii Masao <[email protected]>
To: Magnus Hagander <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: pgsql-docs <[email protected]>
Subject: Re: somewhat wrong archive_command example
Date: Wed, 21 Sep 2011 10:58:31 +0900
Message-ID: <CAHGQGwHnVtdeaTKSx+JwC3JKsgkNUH0cyJi4QXBV+3tRw4Tdjg@mail.gmail.com> (raw)
In-Reply-To: <CABUevEzSt1aB0zONL2g0TTa0W3q9uAwHFRCbxXyySXcv6sJZJQ@mail.gmail.com>
References: <[email protected]>
<CABUevEzSt1aB0zONL2g0TTa0W3q9uAwHFRCbxXyySXcv6sJZJQ@mail.gmail.com>
On Tue, Sep 20, 2011 at 10:34 PM, Magnus Hagander <[email protected]> wrote:
> On Tue, Sep 20, 2011 at 15:17, Peter Eisentraut <[email protected]> wrote:
>> At
>> http://www.postgresql.org/docs/current/static/continuous-archiving.html
>> we say
>>
>> """
>> Many people choose to use scripts to define their archive_command, so
>> that their postgresql.conf entry looks very simple:
>>
>> archive_command = 'local_backup_script.sh'
>> """
>>
>> It seems to me, however, that even a simple archive_command like that
>> ought to contain at least %p, right?
>
> Should always need both %p and %f, no?
Yes unless the script extracts the file name from the path given as %p.
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
view thread (24+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: somewhat wrong archive_command example
In-Reply-To: <CAHGQGwHnVtdeaTKSx+JwC3JKsgkNUH0cyJi4QXBV+3tRw4Tdjg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox