Re: failed archive command

From: Devrim GÜNDÜZ
Subject: Re: failed archive command
Date: ,
Msg-id: 1310013908.15816.91.camel@lenovo01-laptop03.gunduz.org
(view: Whole thread, Raw)
In response to: failed archive command  (Joe Lester)
List: pgsql-general

Tree view

failed archive command  (Joe Lester, )
 Re: failed archive command  (Devrim GÜNDÜZ, )
 Re: failed archive command  (, )
 Re: failed archive command  (Craig Ringer, )
 Re: failed archive command  (Joe Lester, )

On Wed, 2011-07-06 at 23:39 -0500, Joe Lester wrote:
> archive_command = '/usr/bin/scp -B /Volumes/DataDrive/data/%p
> :/Volumes/DataDrive/wals_from_master/%f'

%p is expanded to the *full* path, so /Volumes/DataDrive/data/%p might
not be the correct. I'd use just %p instead of it.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

pgsql-general by date:

From: Peter Geoghegan
Date:
Subject: Re: Request for help - Does anyone in Seattle need a Postgres job?
From: Adrian Schreyer
Date:
Subject: Latency problems with simple queries