From: Diego <mrstephenamell@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
To: Edmundo Robles <edmundo@sw-argos.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: About compress in pg_dump
Date: Fri, 17 Jul 2020 12:12:47 -0300
Message-ID: <8531a4f3-15b1-4bea-4206-4a7944e82051@gmail.com> (raw)
In-Reply-To: <CAKFQuwbEQx5A6ih9hHjf2ZZbaFfeqXS5WeAavQ-BwiDiAHYfzA@mail.gmail.com>
References: <CAOXzpYBq98WKHje8B0ap7j4wap-BeNeovYWq4DyUxKFFZmr5WQ@mail.gmail.com>
<CAKFQuwbEQx5A6ih9hHjf2ZZbaFfeqXS5WeAavQ-BwiDiAHYfzA@mail.gmail.com>
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
> <mailto: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.
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: mrstephenamell@gmail.com, david.g.johnston@gmail.com, edmundo@sw-argos.com
Subject: Re: About compress in pg_dump
In-Reply-To: <8531a4f3-15b1-4bea-4206-4a7944e82051@gmail.com>
References: <CAOXzpYBq98WKHje8B0ap7j4wap-BeNeovYWq4DyUxKFFZmr5WQ@mail.gmail.com> <CAKFQuwbEQx5A6ih9hHjf2ZZbaFfeqXS5WeAavQ-BwiDiAHYfzA@mail.gmail.com> <8531a4f3-15b1-4bea-4206-4a7944e82051@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox