Re: pg_dumpall custom format?

From: "Marc Mamin" <M(dot)Mamin(at)intershop(dot)de>
To: "Thom Brown" <thombrown(at)gmail(dot)com>, "pgsql general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dumpall custom format?
Date: 2009-03-05 11:02:56
Message-ID: C4DAC901169B624F933534A26ED7DF311D540F@JENMAIL01.ad.intershop.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

you can first pipe the output of pg_dump to a compression tool:

pg_dump..... | gzip > file.

instead of gzip, I'm using pigz which is faster thanks multithreading.

HTH,

Marc Mamin

________________________________

From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Thom Brown
Sent: Thursday, March 05, 2009 11:53 AM
To: pgsql general
Subject: [GENERAL] pg_dumpall custom format?

Hi,

I noticed that while pg_dump can output a custom format, effectively
compressing the output, pg_dumpall doesn't. Is there a reason for this?
And is there a way to get pg_dumpall to compress it's output?

Thanks

Thom

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2009-03-05 11:08:10 Re: pg_dumpall custom format?
Previous Message Thom Brown 2009-03-05 10:53:07 pg_dumpall custom format?