Re: recovering databases - Mailing list pgsql-general

From Yvon Thoraval
Subject Re: recovering databases
Date
Msg-id CAG6bkBzpi_qqyDz3M1_USvVHKZv35TGwACzfy-bcdZvQU5H6sw@mail.gmail.com
Whole thread Raw
In response to Re: recovering databases  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-general


2012/9/4 Albe Laurenz <laurenz.albe@wien.gv.at>
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


fine, thanks

--
Yvon


pgsql-general by date:

Previous
From: Andrew Barnham
Date:
Subject: Re: PostgreSQL server embedded in NAS firmware?
Next
From: Sergio Basurto
Date:
Subject: Re: regexp_matches question