pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Porwal, Utkarsh <utkarsh.porwal@emc.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Advise on restoring from FileSystem backup
Date: Mon, 7 Sep 2015 10:53:38 -0600
Message-ID: <F4A0026B-12BF-4463-B327-E42A561FEC30@elevated-dev.com> (raw)
In-Reply-To: <182E8934F4D0094A94B8A0E5A48B8F5A355BA776@MX105CL01.corp.emc.com>
References: <182E8934F4D0094A94B8A0E5A48B8F5A355BA776@MX105CL01.corp.emc.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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







-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (3+ messages)  latest in thread

Message-ID: <F4A0026B-12BF-4463-B327-E42A561FEC30@elevated-dev.com>
Permalink:  ../F4A0026B-12BF-4463-B327-E42A561FEC30@elevated-dev.com/
Also on:    postgresql.org/message-id/F4A0026B-12BF-4463-B327-E42A561FEC30@elevated-dev.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, utkarsh.porwal@emc.com
  Subject: Re: Advise on restoring from FileSystem backup
  In-Reply-To: <F4A0026B-12BF-4463-B327-E42A561FEC30@elevated-dev.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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