Import folder and files to a new server on Windows

Hello, we have a difficult situation, we got a server that started to fall apart from the previous it team

The server worked through Docker and it was decided to raise a new server on Windows. We managed to copy 26 TB of files located in folders 0a, 0b, etc.

We were unable to find a solution here on the forum, so we ask you to tell us how to import all these files correctly.
We tried to upload folders one by one but noticed that the size of the folder after import became twice as large, for example, we take folder 0a with a size of 108 GB, import it through Orthanc Explorer 2 and get a size twice as large, plus this takes a very very long time

Please advise the correct method

Now we have 26 TB of folders with files and a new server on Windows

I kindly ask for help from those who have encountered similar actions.

Hello,

It’s not possible to migrate from an Orthanc to another with a simple copy/paste of the storage folder.

So, if you don’t have access to the previous Orthanc anymore, you could:

  • keep the imported folders out of your new setup
  • write a short python script to upload these folders through the API

If you don’t have enough space to have both the new Orthanc fully filled and the imported folder on the drive, you could delete these folders just after the upload in your Python script.

HTH,

Hello,

As a complement to @bcrickboom’s answer, please have a look at the “Replication with direct access to the filesystem” section in the documentation of Orthanc.

Regards,
Sébastien-

Hello,

appologize if my Q is maybe bit off-topic.

We currently plan migrate from another DICOM server into Orthanc. We have plan to use scenario as simply try import through Orthanc Explorer 2 like you mentioned. We already did some tests and do not realise here are any significant size difference but we try it again.

As @bcrickboom replied this Import via Orthanc Explorer 2 is not method what can be used for regular import/migration from another PACS?

Thank you,

Jan

The ImportDicomFiles.py script mentioned by Sébastien can also be used to import files from another PACS.