Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B4542B5FB0B for ; Tue, 20 Sep 2011 10:42:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 54668-01-9 for ; Tue, 20 Sep 2011 13:42:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) by mail.postgresql.org (Postfix) with ESMTP id EAF0CB5DE7E for ; Tue, 20 Sep 2011 10:34:06 -0300 (ADT) Received: by qyk7 with SMTP id 7so528270qyk.19 for ; Tue, 20 Sep 2011 06:34:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.101.165 with SMTP id c37mr644228qco.161.1316525646495; Tue, 20 Sep 2011 06:34:06 -0700 (PDT) Received: by 10.229.38.133 with HTTP; Tue, 20 Sep 2011 06:34:06 -0700 (PDT) In-Reply-To: <1316524671.9044.12.camel@fsopti579.F-Secure.com> References: <1316524671.9044.12.camel@fsopti579.F-Secure.com> Date: Tue, 20 Sep 2011 15:34:06 +0200 Message-ID: Subject: Re: somewhat wrong archive_command example From: Magnus Hagander To: Peter Eisentraut Cc: pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201109/56 X-Sequence-Number: 6977 On Tue, Sep 20, 2011 at 15:17, Peter Eisentraut 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 =3D '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? --=20 =A0Magnus Hagander =A0Me: http://www.hagander.net/ =A0Work: http://www.redpill-linpro.com/