Migrate, Replicate or Import/Export data from Comressed Orthanc Storage

Good day!

I found through Google nice script for synchronizing content of Orthanc servers
and trying to transfer data from many small servers (300-400 GB each and SQLite3 DB)
into one large server with an index in PostgreSQL.

The problem is that on all Orthanc servers, we enabled compressed storage to save space.
And now no matter what scripts I try and find - they all cannot synchronize or import content (i try three different variants).

The only manual transfer option that worked for me is manual unloading of each
surveys using the WEB-interface (TCP / 8042) and the Download ZIP button.
Each examination takes 5-10 minutes - and there are thousands of them.

They will be very glad to the advice, what should we do?
Is there any opportunity to transfer automatically migrate in my situation?

Best Regards,
Egor Vershinin

Hello,

The maintenance tool “OrthancRecoverCompressedFile” can be used to decompress a file taken from the storage area of Orthanc:

$ ./OrthancRecoverCompressedFile
Maintenance tool to recover a DICOM file that was compressed by Orthanc.

Usage: ./OrthancRecoverCompressedFile [output]
If “output” is not given, the data will be output to stdout

The source code of this tool is part of the Orthanc source distribution [1]. Precompiled binaries are available in the Windows installers by Osimis, in the official Debian/Ubuntu package, and as Linux Standard Base binaries [2].

HTH,
Sébastien-

[1] https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Tools
[2] https://lsb.orthanc-server.com/orthanc/1.9.1/