Re: How to upgrade PostgreSQL minor releases without a dump/restore?

Поиск
Список
Период
Сортировка
От Uwe Schroeder
Тема Re: How to upgrade PostgreSQL minor releases without a dump/restore?
Дата
Msg-id 201103031943.46705.uwe@bunspace.com
обсуждение исходный текст
Ответ на Re: How to upgrade PostgreSQL minor releases without a dump/restore?  ("Gnanakumar" <gnanam@zoniac.com>)
Ответы Re: How to upgrade PostgreSQL minor releases without a dump/restore?  (Kenneth Marshall <ktm@rice.edu>)
Список pgsql-admin
> > ? Did you read the paragraph above?
> >
> > Install latest version, and restart postmaster.
>
> Installing of latest version as-is will keep overwriting the existing
> installed directories/files/binaries but not the "/usr/local/pgsql/data/"
> directory right?  Since this is our production server database, am just
> clarifying this question that came to my mind, before upgrading.

For sake of safety, I'd always make a backup of the data directory. You don't
need to dump/restore. Just copy the files someplace else and then do the
update. In case something goes wrong you can always go back to your old
version and just copy the backup to the data directory.

That's how I do upgrades. Never needed the backup, but better to have one.

Uwe



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

Предыдущее
От: Jason Clark
Дата:
Сообщение: Re: HA warm standby issue with trigger file.
Следующее
От: Lukasz Brodziak
Дата:
Сообщение: Server doesn't listen error