Re: Recovered data directory

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: Recovered data directory
Дата
Msg-id 20210418125401.licfzimvoor25gdn@nol
обсуждение исходный текст
Ответ на Recovered data directory  (Yambu <hyambu@gmail.com>)
Список pgsql-admin
On Sun, Apr 18, 2021 at 02:44:03PM +0200, Yambu wrote:
> Hello
> 
> I lost data when my server crashed, so i have rebuilt a new server and have
> recovered the directory /var/lib/pgsql/10/data  is there anything i need to
> do to start a new postgres instance after having copied the old recovered
> /var/lib/pgsql/10/data to new data directory with the same path

You also need all tablespaces directory if you had any, and possibly the pg_wal
directory if it was a symlink.

Note that if you get any error when trying to start the server it would
actually be useful to mention them.



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

Предыдущее
От: Yambu
Дата:
Сообщение: Recovered data directory
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Reordering the fields in a table