Thread: recovering databases
on my computer I had a disk probleme, then i had to reinstall the system (Xubuntu 12.04).
I've backuped some parts of the disk, namely /etc, /var and /home.
I wonder if I'm able to recover my past databases in the /var/lib/postgresql/9.1/ backup.
If yes, how ?
--
Yvon
Yvon Thoraval wrote: > on my computer I had a disk probleme, then i had to reinstall the system (Xubuntu 12.04). > I've backuped some parts of the disk, namely /etc, /var and /home. > I wonder if I'm able to recover my past databases in the /var/lib/postgresql/9.1/ backup. > If yes, how ? If you have the complete data directory, there should be no problem. Install PostgreSQL 9.1 and start the server against the data directory. Yours, Laurenz Albe
2012/9/4 Albe Laurenz <laurenz.albe@wien.gv.at>
If you have the complete data directory, there should beYvon Thoraval wrote:
> on my computer I had a disk probleme, then i had to reinstall the system (Xubuntu 12.04).
> I've backuped some parts of the disk, namely /etc, /var and /home.
> I wonder if I'm able to recover my past databases in the /var/lib/postgresql/9.1/ backup.
> If yes, how ?
no problem.
Install PostgreSQL 9.1 and start the server against the
data directory.
Yours,
Laurenz Albe
fine, thanks
Yvon