Re: Practical maximums

Поиск
Список
Период
Сортировка
От Jorge Godoy
Тема Re: Practical maximums
Дата
Msg-id 87oduwuwsy.fsf@gmail.com
обсуждение исходный текст
Ответ на Re: Practical maximums (was Re: PostgreSQL theoretical  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-general
Ron Johnson <ron.l.johnson@cox.net> writes:

> Say we have a 7GB database.  Is there a way to way to use 2 tape
> drives...  Argh, I guess not, since the Unix pipe mentality presumes
> that the mode of operation will be:
>   $ pg_dump /some/database | tar cvfz /dev/st0/db.tgz

If you use "z" you're compressing then using multiple volumes is not
possible.  If you can abdicate of that then you'll be able to use the "m"
option and it will ask for another tape.

> What would be darned useful (but only, I think, with heavy usage of
> tablespaces) is:
>   $ pg_tapedump /some/database /dev/st0,/dev/st1,/dev/st2,/dev/st3

You can create multiple files using the "m" option and then copy those to each
individual tape drive.  That's the only way I can think of to redirect your
output to multiple tape drives.

For multiple tapes, tar will ask you for the next and all of them will be
/dev/st<drive_number>.

--
Jorge Godoy      <jgodoy@gmail.com>

Вложения

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

Предыдущее
От: "Jonathan Vallar"
Дата:
Сообщение: Re: Dumping database using 8.1 or 7.1
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Practical maximums (was Re: PostgreSQL theoretical