restoring with pg_restore

Поиск
Список
Период
Сортировка
От Didier Gasser-Morlay
Тема restoring with pg_restore
Дата
Msg-id 608b66ce0804230921j25dd6925q525bfb520031b8fc@mail.gmail.com
обсуждение исходный текст
Ответы Re: restoring with pg_restore  ("Phillip Smith" <phillip.smith@weatherbeeta.com.au>)
Список pgsql-novice
Probably a silly question but if I restore with pg_restore to an
existing database I get several messages 'primary key violation' ...
clearly if I restore to a database I create for the occasion, this
does not happen.

Is it a good practice in order to have a reasonable level of security
to on a server drop and recreate a database every day ? would there be
any side effects things that could get corrupted in the long term. We
want to restore because we are using a separate server for the heavy
reporting we have so we are planning to backup and restore at least
every night.

Thanks for your thoughts

Didier

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

Предыдущее
От: "Didier Gasser-Morlay"
Дата:
Сообщение: Re: Client connection lost; still in the task list
Следующее
От: "Phillip Smith"
Дата:
Сообщение: Re: restoring with pg_restore