Re: Backup to Tape Incomplete

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Backup to Tape Incomplete
Дата
Msg-id 9884.1204068587@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Backup to Tape Incomplete  ("Phillip Smith" <phillip.smith@weatherbeeta.com.au>)
Ответы Re: Backup to Tape Incomplete  (Geoffrey <lists@serioustechnology.com>)
Re: Backup to Tape Incomplete  ("Phillip Smith" <phillip.smith@weatherbeeta.com.au>)
Список pgsql-admin
"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.  Instead, maybe dd with blocksize set equal to the
tape drive's required blocksize would do?  You'd have to check what
options your dd version has for padding out the last partial block.
Padding with spaces should work fine, not totally sure if nulls would
be OK.

            regards, tom lane

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

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