pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: George Wilk <gwilk@ellacoya.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: archive_command does not execute
Date: Tue, 19 Jun 2007 19:55:30 +0100
Message-ID: <1182279331.6855.340.camel@silverbirch.site> (raw)
In-Reply-To: <002c01c7b26b$d0085400$0d7ba8c0@ellacoya.com>
References: <002c01c7b26b$d0085400$0d7ba8c0@ellacoya.com>

On Tue, 2007-06-19 at 08:17 -0400, George Wilk wrote:

>  archive_command = 'touch /var/lib/pgsql/bkp/myfile'

Presumably you understand that an archive_command like the above is not
ever going to do any archiving?

set

	log_min_messages = DEBUG1

if you want to see the archive messages.

But it seems like you should be able to do 

	ls -l /var/lib/pgsql/bkp/myfile

to check your archive_command has succeeded, using your example

-- 
  Simon Riggs             
  EnterpriseDB   http://www.enterprisedb.com





view thread (4+ messages)

Message-ID: <1182279331.6855.340.camel@silverbirch.site>
Permalink:  ../1182279331.6855.340.camel@silverbirch.site/
Also on:    postgresql.org/message-id/1182279331.6855.340.camel@silverbirch.site

 · 

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: pgsql-admin@postgresql.org
  Cc: simon@2ndquadrant.com, gwilk@ellacoya.com
  Subject: Re: archive_command does not execute
  In-Reply-To: <1182279331.6855.340.camel@silverbirch.site>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox