Re: Restarting DB after moving to another drive

Поиск
Список
Период
Сортировка
От Pete Hollobon
Тема Re: Restarting DB after moving to another drive
Дата
Msg-id CACojYcE3JL+NO_AsapfYbpSJv4exPfpKGL56--L87tdmyDBvFA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Restarting DB after moving to another drive  (Daniel Begin <jfd553@hotmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Devrim Gündüz
Дата:
Сообщение: Re: PostgreSQL OGC compliant
Следующее
От: Lukas Lehner
Дата:
Сообщение: PGConf NYC 2015 videos