Re: About compress in pg_dump

Поиск
Список
Период
Сортировка
От Diego
Тема Re: About compress in pg_dump
Дата
Msg-id 8531a4f3-15b1-4bea-4206-4a7944e82051@gmail.com
обсуждение исходный текст
Ответ на Re: About compress in pg_dump  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: About compress in pg_dump  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general

Yep, I transfer backups files all the time with -Fc and never the problem was rsync

On 2020-07-17 12:07, David G. Johnston wrote:
On Fri, Jul 17, 2020 at 7:49 AM Edmundo Robles <edmundo@sw-argos.com> wrote:
To backup  a database  I do:
 nice -n +19  pg_dump -Fc  database | nice -n +19 gzip --rsyncable   -nc >  database.dump

If -Fc  option  is compressed  by default  I dont need gzip the backup,  but I need pass --rsyncable  and -n options.

How can  I pass  gzip options  to compress in pg_dump?

pg_dump isn't using the gzip program, it's just performing compression per the gzip compression specification, and doesn't provide those two features to control it's processing (or any features beyond what's documented on the pg_dump reference page).

David J.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: About compress in pg_dump
Следующее
От: "Hilbert, Karin"
Дата:
Сообщение: Security Vulnerability on PostgreSQL VMs