Search Postgresql Archives

Re: Restarting DB after moving to another drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11 May 2015 at 19:01, Daniel Begin <jfd553@xxxxxxxxxxx> 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.


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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux