Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Packing Plone data

I am new to Plone and trying to learn how to setup and maintain a server. I realize I need to develop a schedule for packing the data. Right now I am just trying to test this using the pack function in the Zope control panel and also the command line (bin/zeopack).

I know in practice I should leave a week's worth of history, but if I pack to 0 days shouldn't I see all edit history disappear? I am not seeing this happen. What am I doing wrong?

like image 349
user1678639 Avatar asked Sep 18 '12 15:09

user1678639


1 Answers

You may be confusing the "undo" history with the version history. Packing the database gets rid of old, unused data. That eliminates your ability to undo older transactions.

Version history is not the same. Version history is not considered unused data, and is not eliminated in packs.

If you don't want edit history, turn off versioning.

like image 54
SteveM Avatar answered Oct 21 '22 06:10

SteveM