Re: pgAgent - adding parameters to runs

Поиск
Список
Период
Сортировка
От Bastiaan Olij
Тема Re: pgAgent - adding parameters to runs
Дата
Msg-id 52A7CD3E.3030509@basenlily.me
обсуждение исходный текст
Ответ на Re: pgAgent - adding parameters to runs  (Dinesh Kumar <dinesh.kumar@enterprisedb.com>)
Ответы Re: pgAgent - adding parameters to runs  (Dinesh Kumar <dinesh.kumar@enterprisedb.com>)
Список pgadmin-support
Hi Dinesh,

On 10/12/13 5:26 PM, Dinesh Kumar wrote:

Does it work for you. Make this script as a single job to the pgAgent.
We already use that approach but it would still require us to configure a job for each database that calls the batch file with the database name as a parameter (which is how we are doing things today).

As we regularly add new databases and remove ones we no longer need that gives us a lot of overhead in maintaining the pgAgent jobs with a high risk of typos sneaking in when we do so.

None of these jobs are scheduled, we have a nightly backup script that backs up all databases with one script that detects which databases exist. These jobs are for incidental backups such as ones we run on an individual database before performing schema changes or certain processes where we need to be able to go back to backup if things go wrong.

Cheers,

Bas

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

Предыдущее
От: Dinesh Kumar
Дата:
Сообщение: Re: pgAdmin 1.18.0 + slony-I 2.2.0 + PG 9.3
Следующее
От: Dinesh Kumar
Дата:
Сообщение: Re: pgAgent - adding parameters to runs