From: Johnny Jørgensen <pgsql@halfahead.dk>
To: pgsql-sql@postgresql.org
Subject: Constructing a backup routine
Date: Tue, 18 Dec 2001 12:50:21 +0100
Message-ID: <20011218125019.BFA2.PGSQL@halfahead.dk> (raw)
I've been over the docs, Bruce's book, and a good part of the web, where
there are plenty documentation on COPY, \copy and pgdump, but I have yet
to make a working backup (and the system goes into production state in 3
weeks..). The problem is, i get my data moved out & in fine, but
sequences are reset? This is, of course, something of a problem, since
it breaks new inserts into unique colums from sequences after a restore.
Also, I've been putting a lot of work into some plpgsql functions, that
I have to load manually - there's only a handful, so it isn't too big a
problem, but all in all, to get a near-workable backup, takes me an hour
or so by hand..
What way do you big folks handle backing up your systems?
regards,
--
Johnny Jørgensen <pgsql@halfahead.dk>
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pgsql@halfahead.dk
Subject: Re: Constructing a backup routine
In-Reply-To: <20011218125019.BFA2.PGSQL@halfahead.dk>
* 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