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

Re: archive_command does not execute

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "George Wilk" <gwilk(at)ellacoya(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: archive_command does not execute
Date: 2007-06-19 18:55:30
Message-ID: 1182279331.6855.340.camel@silverbirch.site (view raw or flat)
Thread:
Lists: pgsql-admin
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



In response to

pgsql-admin by date

Next:From: Simon RiggsDate: 2007-06-19 20:05:34
Subject: Re: Postgres VS Oracle
Previous:From: Dan HarrisDate: 2007-06-19 17:54:48
Subject: Re: reindex in v8.2

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