Re: PostgreSQL 9.3 PITR from remote server failing - Mailing list pgsql-admin

From David Johnston
Subject Re: PostgreSQL 9.3 PITR from remote server failing
Date
Msg-id 1388681573001-5785077.post@n5.nabble.com
Whole thread Raw
In response to PostgreSQL 9.3 PITR from remote server failing  (Kido Kouassi <jjkido@gmail.com>)
List pgsql-admin
Kido Kouassi wrote
> restore_command ='ssh pgu@backup_server "gunzip /bkp/wal%f" && scp
> pgu@backup_server:/bkp/wal/%f %p'
>
> scp: /bkp/wal/f%: No such file or directory

typo?  try: "gunzip /bkp/wal/%f"   (note the added "/" after 'wal')

Also the 'scp' error indicates "/bkp/wal/f%" but you claim you are using
"/bkp/wal/%f" - which would substitute the %f with an actual file instead of
passing around the literal 'f%'.  Likely the error is correct and you have a
typo there as well.

David J.




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/PostgreSQL-9-3-PITR-from-remote-server-failing-tp5785074p5785077.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


pgsql-admin by date:

Previous
From: Kido Kouassi
Date:
Subject: PostgreSQL 9.3 PITR from remote server failing
Next
From: Kido Kouassi
Date:
Subject: Re: PostgreSQL 9.3 PITR from remote server failing