Re: Restarting DB after moving to another drive - Mailing list pgsql-general

From Pete Hollobon
Subject Re: Restarting DB after moving to another drive
Date
Msg-id CACojYcE3JL+NO_AsapfYbpSJv4exPfpKGL56--L87tdmyDBvFA@mail.gmail.com
Whole thread Raw
In response to Re: Restarting DB after moving to another drive  (Daniel Begin <jfd553@hotmail.com>)
List pgsql-general
On 11 May 2015 at 19:01, Daniel Begin <jfd553@hotmail.com> wrote:
> Interesting,
>
> The symbolic links on the old drive -still used by the DB- look like
> windows' shortcuts to parent folder, while they are empty folders in the
> copy of the database I have on the new drive...
>
> When I do a plane copy of those links on another drive I also get the same
> empty folders.  I am getting closer to the initial problem, and closer to
> the solution!
>
> Maybe an image backup of the drive would have done the job properly instead
> of using a plane copy?
> Daniel
>

Robocopy can copy symlinks properly in Windows, if you use the /SL
option. Something like

robocopy /E /SL sourcedir targetdir

See https://technet.microsoft.com/en-GB/library/cc733145.aspx.


pgsql-general by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: PostgreSQL OGC compliant
Next
From: Lukas Lehner
Date:
Subject: PGConf NYC 2015 videos