# HG changeset patch # User Alain Mazy # Date 1599481250 -7200 # Node ID 4e426dec4fee11f2267a676a0a1f293a50fc0879 # Parent 4481882d9c8321024275a7fd274bf611edec54ba Object-storage: RootPath diff -r 4481882d9c83 -r 4e426dec4fee Sphinx/source/plugins/object-storage.rst --- a/Sphinx/source/plugins/object-storage.rst Tue Sep 01 18:22:01 2020 +0200 +++ b/Sphinx/source/plugins/object-storage.rst Mon Sep 07 14:20:50 2020 +0200 @@ -130,6 +130,7 @@ "Endpoint": "", // custom endpoint "ConnectionTimeout": 30, // connection timeout in seconds "RequestTimeout": 1200, // request timeout in seconds (max time to upload/download a file) + "RootPath": "", // see below "MigrationFromFileSystemEnabled": false, // see below "StorageStructure": "flat" // see below } @@ -152,6 +153,7 @@ "AzureBlobStorage" : { "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=xxxxxxxxx;AccountKey=yyyyyyyy===;EndpointSuffix=core.windows.net", "ContainerName" : "test-orthanc-storage-plugin", + "RootPath": "", // see below "MigrationFromFileSystemEnabled": false, // see below "StorageStructure": "flat" // see below } @@ -165,6 +167,7 @@ "GoogleCloudStorage" : { "ServiceAccountFile": "/path/to/googleServiceAccountFile.json", "BucketName": "test-orthanc-storage-plugin", + "RootPath": "", // see below "MigrationFromFileSystemEnabled": false, // see below "StorageStructure": "flat" // see below } @@ -185,7 +188,10 @@ when migrating your data from a file system to an object storage since you can copy all the file hierarchy as is. -Note that you can not change this configuration once you've uploaded the first files in Orthanc. +The **RootPath** allows you to store the files in another folder as the root level of the +object storage. + +Note that you can not change these configurations once you've uploaded the first files in Orthanc. The **MigrationFromFileSystemEnabled** configuration has been for Orthanc to continue working while you're migrating your data from the file system to the object storage. While this option is enabled,