| От | strange@nsk.yi.org |
|---|---|
| Тема | Re: Shell Script help for backup |
| Дата | |
| Msg-id | 20020723150902.A5173@nsk.yi.org обсуждение |
| Ответ на | Re: Shell Script help for backup (ratlhead@ratlhead.com (ratlhead)) |
| Список | pgsql-general |
On Mon, Jul 22, 2002 at 03:35:01PM -0700, ratlhead wrote: > Hi all, > > This is how I ended up solving my problem. Not sure if any of this > will help you, but here's the scripts I use. This is what it does... > > -Uses PG environmental variables to connect to the PG server > -Dumps the specified database > -Checks the backup folder for any backups older than a week and > deletes those > -Checks to be sure the backup was successful by checking for a 0k file > for that day What's wrong with the solution I sent? And I doubt the checking for a 0k file will work for you as gzip will create a 20 byte file even for a 0 byte input (some headers, etc.). Regards, Luciano Rocha -- Consciousness: that annoying time between naps.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера