-
Notifications
You must be signed in to change notification settings - Fork 244
Export Triggered Deletion of Objects from Storage
Vrinda edited this page Mar 27, 2023
·
1 revision
Export triggered deletion of objects from a storage is helpful when one wants to replace or backup a storage system, effectively deleting them from the old storage system once they are available on the new storage system.
- Go to
Menu->Configuration
, then onDevices
page,Edit
thedcm4chee-arc
device. Go toExtensions
andEdit extension
ofDevice Extension
. Again go to itsExtensions
andEdit extension
ofArchive device
. In itsChild Objects
select theExporter Descriptor
which shall be used to export the objects from old storage system to the new storage system. - For
Delete Study From Storage ID
field, select the old storage system ID andSave
.
One may either create a LDIF file (e.g.):
version: 1
dn: cn=CopyToNewStorage,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
dcmExporterID: CopyToNewStorage
objectClass: dcmExporter
dcmQueueName: Export5
dcmURI: storage:newStorageID
dicomAETitle: DCM4CHEE
dcmDeleteStudyFromStorageID: oldStorageID
and import it to the LDAP Server by using the ldapmodify command line utility.
One may refer to Exporter Descriptor to understand the description of attributes.
Go to the Control tab on Configuration page in archive UI and reload the configuration.
- Use RESTful service Export Matching Studies
by setting the query parameter
storageID=oldStorageID
. The path parameter{exporterID}
shall be the Exporter that was created above. - Once the export of objects from old to new storage systems has been completed, you can see info in the server logs
which stating
Successfully marked objects of Study[uid={}] at {} for deletion
. - Alternatively you may also verify in the study table in database. The
storage_ids
column, which previously contained also the old storage ID, now does not have old storage ID anymore.
DCM4CHEE 5 Documentation