Re: DBMS upgrade and backups

Поиск
Список
Период
Сортировка
От Vibhor Kumar
Тема Re: DBMS upgrade and backups
Дата
Msg-id F0923138-9B81-48A2-BB38-D305CFB0EF97@enterprisedb.com
обсуждение исходный текст
Ответ на DBMS upgrade and backups  (Alexander Pyhalov <alp@rsu.ru>)
Ответы Re: DBMS upgrade and backups  (Alexander Pyhalov <alp@rsu.ru>)
Список pgsql-general
On Mar 14, 2011, at 7:36 PM, Alexander Pyhalov wrote:

> Am I right that on PostgreSQL upgrade to new major version (e.g. from 9.0 to 9.1) I'll loose my backups (base backups
andwal files will be useless)? 

Yes, those Backups would not be valid.

> So to go to past after DB upgrade  I had to install old version(9.0), recover data and then upgrade DBMS software...

You won't be able to use the Data Directory of New Version for PG 9.0, you have to use your old backup.

> What is the preferred way to deal with this issue?

I would recommend to take pg_dump backup with Filesystem Backup before any upgrade.

Can you explain, why are you upgrading to 9.1? Currently there is no Prduction release of 9.1.

Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
vibhor.kumar@enterprisedb.com
Blog:http://vibhork.blogspot.com


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

Предыдущее
От: Alexander Pyhalov
Дата:
Сообщение: DBMS upgrade and backups
Следующее
От: Jo
Дата:
Сообщение: Re: Postgres 8.3 vs. 8.4 - Query plans and performance