pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Colin Stearman <cstearman@infofind.com>
To: Dan Langille <dan@langille.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database backup and restore
Date: Fri, 22 Nov 2002 14:41:28 -0500
Message-ID: <01f901c2925f$2b128e60$3301a8c0@Colin2000> (raw)
References: <3DDE39A9.13074.C40F87B6@localhost>

Dan,

On first glance at dima's script it does not seem to deal with blobs,
although could easily me made to do so.

Also it does not address automated reloading.  In light of the fact that
blobs must be output by -Ft or -Fc in pg_dump, which are tar and custom
respectively, the result of an entire db set dump would be one file of this
type per database.  Maybe the name could be used in a similar
reverse-direction script to send each to pg_restore to reload things.

I'll be working on it some more and will share what I come up with.

It seems a glaring omission that it is impossible to upgrade PostgreSQL
across major versions if your database(s) contain blobs (at least, not
without a lot of work).

Colin

----- Original Message -----
From: "Dan Langille" <dan@langille.org>
To: "dima" <_pppp@mail.ru>
Cc: <pgsql-admin@postgresql.org>
Sent: Friday, November 22, 2002 2:05 PM
Subject: Re: [ADMIN] Database backup and restore


On 22 Nov 2002 at 19:07, dima wrote:

> i wrote a script in perl which dumps all the DBs but template*
> i can mail it to you if you wish

Why not post it to the list?  That way it's available for everyone.
I'm guessing it'll be less than 2K or so...
--
Dan Langille : http://www.langille.org/


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org





view thread (9+ messages)  latest in thread

Message-ID: <01f901c2925f$2b128e60$3301a8c0@Colin2000>
Permalink:  ../01f901c2925f$2b128e60$3301a8c0@Colin2000/
Also on:    postgresql.org/message-id/01f901c2925f$2b128e60$3301a8c0@Colin2000

 · 

reply

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: cstearman@infofind.com, dan@langille.org
  Subject: Re: Database backup and restore
  In-Reply-To: <01f901c2925f$2b128e60$3301a8c0@Colin2000>
  References: <3DDE39A9.13074.C40F87B6@localhost> <01f901c2925f$2b128e60$3301a8c0@Colin2000>

* 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