The portal_historiesstorage tool can consume a lot of disk space. Any type of content intended for saving changes saves them here, and by default, Plone saves all changes (see the portal_purgepolicy tool).
I want all versions to be processed by Data.fs, but after receiving a copy for development, the first thing I do is clear the portal_historiesstorage. The procedure is as follows:
- Go to the Plone website in ZMI
- Delete portal_historiesstorage tool
- Go to the portal_setup tab, Import tab
- Under "Select profile or snapshot" select "CMFEditions"
- Choose a step with the Products.GenericSetup.tool.importToolset handler
- Uncheck "Enable dependencies?"
- Click "Import Selected Steps" to re-add portal_historiesstorage
- Pack Data.fs and delete the resulting Data.fs.old from the file system
In my 3G Data.fs, this little sequence removes 2.5G!
I only ever did this while developing Data.fs. Without advice from someone who really knows, I do not recommend doing this on your work site.
source share