Re: Monitoring database for changes - backup purposes

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Monitoring database for changes - backup purposes
Дата
Msg-id 20051014192454.GS23883@pervasive.com
обсуждение исходный текст
Ответ на Re: Monitoring database for changes - backup purposes  (Chris Jewell <c.jewell@lancaster.ac.uk>)
Список pgsql-admin
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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Chris Jewell
Дата:
Сообщение: Re: Monitoring database for changes - backup purposes
Следующее
От: "Thomas F. O'Connell"
Дата:
Сообщение: Re: postmaster blues after system restart