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. -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin