Moving all studies from file-system to object-storage

I have a scenario where I need to move all studies in Orthanc from local file-system to an Azure object-storage container. Can this be achieved by simply moving the entire StorageDirectory to the object-storage? or are we required to use the RestAPI move-storage endpoint to move studies one by one?

anyone have any idea?

I would use the RestAPI to migrate in a proper way.

so simply moving the files wont work ?

Yes, you can move the files as well. There is a whole chapter of documentation about migration. Do not hesitate to try it by yourself on a test setup to make sure you understand every piece of it.

There’s also this script that can help you.

1 Like