Re: redirecting output of pg_dump

Поиск
Список
Период
Сортировка
От Joshua N Pritikin
Тема Re: redirecting output of pg_dump
Дата
Msg-id 20070718101856.GG4819@always.joy.eth.net
обсуждение исходный текст
Ответ на redirecting output of pg_dump  ("Ashish Karalkar" <ashish.karalkar@info-spectrum.com>)
Список pgsql-general
On Wed, Jul 18, 2007 at 03:39:01PM +0530, Ashish Karalkar wrote:
> I want to take backup from one server and save it to another machine hard drive.
> The backup will be taken through a shell script attached to  a cron job.
>
> something like:
>
> pg_dump -d postgres -U postgres -f <IP address of other machine and path to save the file on that machine >

Can you use ssh? For example:

ssh -x nirmalvihar.info pg_dump -F c ppx > `date +%Y%m%d`

--
Make April 15 just another day, visit http://fairtax.org

В списке pgsql-general по дате отправления:

Предыдущее
От: "Ashish Karalkar"
Дата:
Сообщение: redirecting output of pg_dump
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: redirecting output of pg_dump