Re: Backup to Tape Incomplete

Поиск
Список
Период
Сортировка
От Geoffrey
Тема Re: Backup to Tape Incomplete
Дата
Msg-id 47C4B83E.4060408@serioustechnology.com
обсуждение исходный текст
Ответ на Re: Backup to Tape Incomplete  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Backup to Tape Incomplete  ("Phillip Smith" <phillip.smith@weatherbeeta.com.au>)
Список pgsql-admin
Tom Lane wrote:
> "Phillip Smith" <phillip.smith@weatherbeeta.com.au> writes:
>> On Sun, Feb 24, 2008 at 9:20 PM, Phillip Smith
>> <phillip.smith@weatherbeeta.com.au> wrote:
>>> A couple of possible things to try; pg_dump to a text file and try
>> cat'ting that to the tape drive, or pipe it through tar and then to the
>> tape.
>
>> What would the correct syntax be for that - I can't figure out how to make
>> tar accept stdin:
>
> I don't think it can.

Coming in the middle of this thread, so slap me if I'm off base here.
tar will accept standard in as:

tar -cf -

the '-f -' says take input.

--
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin

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

Предыдущее
От: Ivo Rossacher
Дата:
Сообщение: Re: encoding???
Следующее
От: "Phillip Smith"
Дата:
Сообщение: Re: Backup to Tape Incomplete