Search Postgresql Archives

Re: About compress in pg_dump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 17, 2020 at 7:49 AM Edmundo Robles <edmundo@xxxxxxxxxxxx> 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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux