| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера