02-08-2018 03:24 AM
Hello, I was wondering if it is possible to copy all data contained in one or more "year folder" of Alfresco contenstore (path alf_data/contenstore/year ) to another storage device by synchronizing all data and then mounting the new device to the same path. This operation would be performed with Alfresco services stopped.
I am running out of space in the global alf_data storage device, so I am trying to find how to archive or move old data.
02-08-2018 04:36 AM
If you can symlink the year folder into the content store then yes, you can do something like this to move parts of the content to a different storage location without significant changes to Alfresco.
Another option - which does not require you to split the data on an arbitrary mark - is to configure a separate content store for the new location and use an aggregating content store to combine both the default and new content store into a single view.
Alfresco by default provides an implementation of an aggregating content store, though the required XML configuration is a bit involved. I have built an addon that bundles various content store implementations and makes it simpler to configure them.
02-08-2018 06:24 AM
Thanks Axel for your answer. Your addon looks very interesting, I'll try it in a test environment!
Explore our Alfresco products with the links below. Use labels to filter content by product module.