Re: Server Backup: pg_dump vs pg_dumpall - Mailing list pgsql-general

From Steve Crawford
Subject Re: Server Backup: pg_dump vs pg_dumpall
Date
Msg-id 4A6505D2.2050602@pinpointresearch.com
Whole thread Raw
In response to Re: Server Backup: pg_dump vs pg_dumpall  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
John R Pierce wrote:
> APseudoUtopia wrote:
> ...
>>
>> I was leaning towards pg_dumpall, but then I realized that it only
>> dumps in the standard SQL text file format, and it cannot be
>> compressed automatically.
>
> pgdumpall ....   | gzip > dumpfile.sql.gz
>
>
>
That deals with compression. But if you want to use the new
parallel-restore feature in 8.4 pg_restore which can be *way* faster if
you have multiple cores available then you will need to backup using
pg_dump with the custom format (-Fc).

Cheers,
Steve


pgsql-general by date:

Previous
From: David Kerr
Date:
Subject: Re: killing processes
Next
From: Alvaro Herrera
Date:
Subject: Re: Help needed for reading postgres log : RE: Concurrency issue under very heay loads