问题
I have run zodbpack on my local build and reduced my data.fs and blobstorage significantly (like to <50%).
When i run zodbpack on the test server the postgres 'zodb' database packs and comes down in size, but the blobstorage doesnt budge in size.
I've tried running it with every combo of
blob-dir /mnt/drbd/blobstorage
I can think of, but it doesnt budge.
Can it be packed?
RelStorage = 1.5.1
I'm considering upgarding RelStorage to 1.6.0, not sure if that will help.
Update:
Now running relstorage locally, I also see the same behaviour... database packs, blobs don't clean up.
$ bin/zodbpack -d 7 zodbpack-conf.xml
zodbpack-conf.xml
<relstorage>
pack-gc false
blob-dir /Users/aaron/Development/restores/blobstorage
<postgresql>
dsn dbname='zodb' user='postgres' host='localhost' password='password'
</postgresql>
</relstorage>
What am I missing?
来源:https://stackoverflow.com/questions/39072882/how-to-pack-blobstorage-with-plone-and-relstorage