From: | Raymond O'Donnell <rod(at)iol(dot)ie> |
---|---|
To: | Daniel Begin <jfd553(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Restarting DB after moving to another drive |
Date: | 2015-05-11 13:18:41 |
Message-ID: | 5550AC31.6080602@iol.ie |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 11/05/2015 13:38, Daniel Begin wrote:
> I just get it back running with the old drive - was some Windows hidden
> behavior!
>
> However, does someone could tell me what went wrong with the procedure I
> used to move the DB?
> And/or what procedure I should have used in order to get it right?
I've never done it myself, but I understand that one way to do it is
with tablespaces:
http://www.postgresql.org/docs/9.4/static/manage-ag-tablespaces.html
As I understand it, you create a new tablespace on the new disk, then
move your database objects to it.
How that plays with Windows, I've no idea.... I'd guess that changing
the drive letter might well cause Bad Things to happen.
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Begin | 2015-05-11 14:42:42 | Re: Restarting DB after moving to another drive |
Previous Message | Peter Mogensen | 2015-05-11 13:10:04 | Comparing txid and xmin (under BDR) |