From: James Snelling <spare1@cqm.co.uk>
To: pgsql-admin@postgresql.org
Subject: Disaster Recovery!!
Date: Tue, 12 Jun 2001 14:07:24 +0100
Message-ID: <003601c0f340$9fba0a00$659999c0@colloquium.co.uk> (raw)
I had a Linux 6.2 box running serveral virtual domain hosted websites.
Several of these websites used postgres databases, connecting via php3.
I ran a script by accident that totaly messed up the server, basicly rm'ed most of the files on the whole box that were less than 24 hours old. -doh!
Luckily I have some tar-ed backups of all the normal stuff you would have in the pg data directory. and also the websites and http conf files.
So the plan is to set up a new box with a clean install of redhat, apache, postgres and php then drop the data directory back in from the backup.
Do you think this will work?
Any other thoughts on disaster recorvery are also welcomed.
Cheers, James (embarrased taht he could run such a daft script in the first place!!!)
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: spare1@cqm.co.uk
Subject: Re: Disaster Recovery!!
In-Reply-To: <003601c0f340$9fba0a00$659999c0@colloquium.co.uk>
References: <003601c0f340$9fba0a00$659999c0@colloquium.co.uk>
* 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