Re: Full backup

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Felipe Carasso <hrimhari(at)tecgraf(dot)puc-rio(dot)br>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Full backup
Date: 2001-06-20 20:36:28
Message-ID: Pine.LNX.4.30.0106202231430.725-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Felipe Carasso writes:

> It would be very nice, in my opinion, if the pg_dumpall tool could
> include all system tables in the dump, possibly checking for superuser
> access before doing that. It seems that only pg_shadow is added.

There is hardly ever a reason to save the full content of the system
catalogs, because the "standard" content would be added back by initdb and
the local modifications are saved by pg_dump in the form of CREATE
SOMETHING commands. At least that *should* be the case. Is there a
particular case you are having trouble with?

> Also, it seems that pg_dumpall is unable to pass the -F flag to
> the sucessive calls to pg_dump.

That would be nice, but it's tricky to work out how to make sure you can
restore everything in one piece. As it is, you could have a piece of text
file from pg_dumpall proper and a bunch of compressed archives or some
such created by the pg_dumps. Maybe pg_dumpall needs to be taught about
the several formats that pg_dump now offers.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

  • Full backup at 2001-06-16 17:35:47 from Felipe Carasso

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2001-06-20 20:49:38 Re: Re: pg_dump dumps views as tables???
Previous Message Jeremy Buchmann 2001-06-20 20:32:14 Re: openBSD