From: Daniel Gustafsson <daniel@yesql.se>
To: Bruce Momjian <bruce@momjian.us>
Cc: jim@jdoherty.net
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Another pg_dump using split and gzip for large databases
Date: Thu, 29 Jul 2021 11:27:20 +0200
Message-ID: <A38B4103-419D-46F7-9CCF-983DC826723D@yesql.se> (raw)
In-Reply-To: <20210728234605.GA9600@momjian.us>
References: <162653459215.701.6323855956817776386@wrigleys.postgresql.org>
<20210728234605.GA9600@momjian.us>
> On 29 Jul 2021, at 01:46, Bruce Momjian <bruce@momjian.us> wrote:
> On Sat, Jul 17, 2021 at 03:09:52PM +0000, PG Doc comments form wrote:
>> pg_dump ccbank | split -b 2048m --filter='gzip > $FILE.gz'
>
> Wow, odd we didn't have an example of using gzip and split together;
> patch attached.
Maybe because the --filter option is only available in GNU split and not in
POSIX, and thus not on FreeBSD and macOS etc. I'm not sure about what level of
compatibility we strive for in the examples though.
--
Daniel Gustafsson https://vmware.com/
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: daniel@yesql.se, bruce@momjian.us, jim@jdoherty.net, pgsql-docs@lists.postgresql.org
Subject: Re: Another pg_dump using split and gzip for large databases
In-Reply-To: <A38B4103-419D-46F7-9CCF-983DC826723D@yesql.se>
* 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