Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it necessary to keep data.fs.old after packing?

Tags:

zope

plone

zodb

My data.fs was 500 MB, so I packed it then backed it up, resulting in 100 MB.

My hosting account is only 500 MB, so I am wondering if it is safe to delete data.fs.old (500 MB)?

like image 246
Adrian Garner Avatar asked Jun 22 '11 05:06

Adrian Garner


1 Answers

You don't need to keep it and you can let the pack process remove it for you. To remove it automatically specify the pack-keep-old option in the zeoserver section:

[zeo]
recipe = plone.recipe.zeoserver
...
pack-keep-old = false
pack-days = 2

The pack process will still create a new file during packing, so you do need to have enough free disk space to hold both your Data.fs and a copy of it.

Via the pack-days option you can specify how many days of history you want to preserve. If you trust your system backup, you can set this to a low value, which will save some more disk space.

like image 64
Hanno Schlichting Avatar answered Oct 01 '22 18:10

Hanno Schlichting