Re: Advise on restoring from FileSystem backup - Mailing list pgsql-admin

From Scott Ribe
Subject Re: Advise on restoring from FileSystem backup
Date
Msg-id F4A0026B-12BF-4463-B327-E42A561FEC30@elevated-dev.com
Whole thread Raw
In response to Advise on restoring from FileSystem backup  ("Porwal, Utkarsh" <utkarsh.porwal@emc.com>)
List pgsql-admin
On Sep 7, 2015, at 10:48 AM, Porwal, Utkarsh <utkarsh.porwal@emc.com> wrote:
>
> Can I stop the db, delete the actual data directory and move back the backed up data directory and start postgress?

Yes, but first move the current data directory, don't delete it until you're sure the new is working.

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice







pgsql-admin by date:

Previous
From: "Porwal, Utkarsh"
Date:
Subject: Re: PostgresDB - Advise on possible data corruption
Next
From: Scott Ribe
Date:
Subject: Re: Advise on restoring from FileSystem backup