Re: Advise on restoring from FileSystem backup

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: "Porwal, Utkarsh" <utkarsh(dot)porwal(at)emc(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Advise on restoring from FileSystem backup
Date: 2015-09-07 16:53:38
Message-ID: F4A0026B-12BF-4463-B327-E42A561FEC30@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sep 7, 2015, at 10:48 AM, Porwal, Utkarsh <utkarsh(dot)porwal(at)emc(dot)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(at)elevated-dev(dot)com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2015-09-07 17:00:13 Re: Advise on restoring from FileSystem backup
Previous Message Porwal, Utkarsh 2015-09-07 16:49:15 Re: PostgresDB - Advise on possible data corruption