From: Jim C. Nasby <jnasby@pervasive.com>
To: Chris Jewell <c.jewell@lancaster.ac.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: Monitoring database for changes - backup purposes
Date: Fri, 14 Oct 2005 14:24:54 -0500
Message-ID: <20051014192454.GS23883@pervasive.com> (raw)
In-Reply-To: <434FF90B.4060902@lancaster.ac.uk>
References: <434FB046.5070207@lancaster.ac.uk>
<200510141059.39852.darcy@wavefire.com>
<434FF90B.4060902@lancaster.ac.uk>
On Fri, Oct 14, 2005 at 07:29:31PM +0100, Chris Jewell wrote:
> Hi,
>
> Yes, diff would work and is my current plan, but it requires me to
> perform the backup first. What I needed really was a system by which a
> backup would only be run if there was something that needed backing up.
I believe he meant diffing the files that store the tables.
Another possibility that I think would work would be checking the
last-modified timestamp of all the files in a schema. Though the easiest
way to do that is probably to build a list of any files that have
changed since the last backup and then figure out what schemas they're
in.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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: jnasby@pervasive.com, c.jewell@lancaster.ac.uk
Subject: Re: Monitoring database for changes - backup purposes
In-Reply-To: <20051014192454.GS23883@pervasive.com>
References: <434FB046.5070207@lancaster.ac.uk> <200510141059.39852.darcy@wavefire.com> <434FF90B.4060902@lancaster.ac.uk> <20051014192454.GS23883@pervasive.com>
* 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