Re: PostgreSQL 9.3 PITR from remote server failing

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: PostgreSQL 9.3 PITR from remote server failing
Дата
Msg-id 1388681573001-5785077.post@n5.nabble.com
обсуждение исходный текст
Ответ на PostgreSQL 9.3 PITR from remote server failing  (Kido Kouassi <jjkido@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Kido Kouassi
Дата:
Сообщение: PostgreSQL 9.3 PITR from remote server failing
Следующее
От: Kido Kouassi
Дата:
Сообщение: Re: PostgreSQL 9.3 PITR from remote server failing