Re: restoring a file system backed-up data dir

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: restoring a file system backed-up data dir
Дата
Msg-id 20061011051945.67339.qmail@web31814.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: restoring a file system backed-up data dir  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> The pg_dump backup is a better bet.
>
> If you are really desperate to recover the latest changes, try
> pg_resetxlog then pg_dump, and diff the dump file against your good
> pg_dump to see which changes you want to believe and apply.  But I'd
> still say you want to initdb and restore from the pg_dump backup before
> going forward.


Thanks for all of the advice.  Fortunately, this is a lesson I am learning on my practice server.
I would hate to think of the predicament I would be in if this happened to my server at work.

Here, none of the data is critical, I just didn't want to re-created all of the schemas that I am
loading test data to.

But lesson learned,  I am going to a closer look at my back-up strategy.

Regards,

Richard Broersma Jr.

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

Предыдущее
От: quickcur@yahoo.com
Дата:
Сообщение: left outer join on multi tables
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: left outer join on multi tables