Re: Automation/scheduling of Backup stratetgy

Поиск
Список
Период
Сортировка
От Michel Decima
Тема Re: Automation/scheduling of Backup stratetgy
Дата
Msg-id 19340913063604.23462@p-grive.issy.cnet.fr
обсуждение исходный текст
Ответ на Automation/scheduling of Backup stratetgy  (Corne Scheepers - MWeb <CScheepers@mweb.com>)
Список pgsql-admin
>Is it posible to schedule / automate a backup task and functions to execute
>at a pre-defined time at a pre-defined recurrence rate?

yes, using the cron daemon and the commands pg_dump or pg_dumpall.

The following entry in the postgres user crontab will backup the
database every day at 03:01 AM in /dev/null (very usefull)

1 3 * * * /usr/local/pgsql/bin/pg_dumpall > /dev/null

just look at
man cron
man crontab
man pg_dumpall

MD.


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

Предыдущее
От: Corne Scheepers - MWeb
Дата:
Сообщение: Automation/scheduling of Backup stratetgy
Следующее
От: nataraj
Дата:
Сообщение: Re: help