Re: pg_dump output mode

From: "Thomas F(dot) O'Connell" <tfo(at)sitening(dot)com>
To: Jeff Davis <jdavis-pgsql(at)empires(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump output mode
Date: 2005-10-04 05:07:15
Message-ID: 3B9E0A5F-B21D-478F-BEE3-488DBCA93F5A@sitening.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Oct 3, 2005, at 1:05 AM, Jeff Davis wrote:

> What pg_dump backup modes do people usually use for a backup of an
> entire database cluster? I usually use plaintext and pipe it through
> gzip, however, that doesn't allow you to restore single objects from a
> complete backup.
>
> Is there a way to back up the entire cluster using the "t" or "c"
> output
> mode for pg_dump? What is the difference between "t" and "c"?
>
> Regards,
> Jeff Davis

Come to think of it, I don't know a way to dump an entire cluster in
the custom format, but that might be because pg_restore is designed
to restore a database rather than a cluster.

I think the only difference between "t" and "c" is that "c" is
compressed by default.

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC

Strategic Open Source: Open Your i™

http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-469-5150
615-469-5151 (fax)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Schregenberger 2005-10-04 09:00:45 Re: Casting numeric values to double
Previous Message A. Kretschmer 2005-10-04 04:58:54 Re: Connecting form Access or VB6 to PostgreSQL 8