From: | Pete Hollobon <postgres(at)hollobon(dot)com> |
---|---|
To: | Daniel Begin <jfd553(at)hotmail(dot)com> |
Cc: | Marc Mamin <M(dot)Mamin(at)intershop(dot)de>, Francisco Olarte <folarte(at)peoplecall(dot)com>, rod(at)iol(dot)ie, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Restarting DB after moving to another drive |
Date: | 2015-05-13 12:37:27 |
Message-ID: | CACojYcE3JL+NO_AsapfYbpSJv4exPfpKGL56--L87tdmyDBvFA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 11 May 2015 at 19:01, Daniel Begin <jfd553(at)hotmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Lukas Lehner | 2015-05-13 13:24:12 | PGConf NYC 2015 videos |
Previous Message | Devrim Gündüz | 2015-05-13 12:05:25 | Re: PostgreSQL OGC compliant |