pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedRecovered data directory
2+ messages / 2 participants
[nested] [flat]
* Recovered data directory
@ 2021-04-18 12:44 Yambu <hyambu@gmail.com>
2021-04-18 12:54 ` Re: Recovered data directory Julien Rouhaud <rjuju123@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Yambu @ 2021-04-18 12:44 UTC (permalink / raw)
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
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
Pg 10
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Recovered data directory
2021-04-18 12:44 Recovered data directory Yambu <hyambu@gmail.com>
@ 2021-04-18 12:54 ` Julien Rouhaud <rjuju123@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Julien Rouhaud @ 2021-04-18 12:54 UTC (permalink / raw)
To: Yambu <hyambu@gmail.com>; +Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-04-18 12:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-04-18 12:44 Recovered data directory Yambu <hyambu@gmail.com>
2021-04-18 12:54 ` Julien Rouhaud <rjuju123@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox