From: dima <_pppp@mail.ru>
To: Dan Langille <dan@langille.org>
Cc: Colin Stearman <cstearman@infofind.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database backup and restore
Date: Mon, 25 Nov 2002 11:58:05 +0300
Message-ID: <3DE1E61D.8050005@mail.ru> (raw)
References: <3DDE4337.19961.C434DCC6@localhost>
>>On first glance at dima's script it does not seem to deal with blobs,
>>although could easily me made to do so.
> I think that would be a very good addition to the PostgreSQL toolkit.
> FWIW, I do not use blobs and consequently do not think of them when
> backups are required.
>
>>I'll be working on it some more and will share what I come up with.
> I'm sure it will be added to the contrib directory.
Heya, Dan!
I posted the script to the list as you asked. Well, restore_all stuff
Colin asked for needs some more work since we need to keep owner names
somewhere outside the dumps ( I'm not about to parse those dump files ;)
) to restore the DBs with the same owners. I don't think making backups
of template? DBs makes sense since they would be unportable between the
versions of PostgreSQL. Anyway, restore_all script will be work in
progress (I hope I'll have enough free time to contribute this week).
Porting dumps between versions of PostgreSQL seems to be a problem. Say,
I faced 'serial' type incompatibility moving my dumps from 7.1.3 to
7.2.2 (since they became 64-bit integers).
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: _pppp@mail.ru, dan@langille.org, cstearman@infofind.com
Subject: Re: Database backup and restore
In-Reply-To: <3DE1E61D.8050005@mail.ru>
References: <3DDE4337.19961.C434DCC6@localhost> <3DE1E61D.8050005@mail.ru>
* 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