Page 1 of 1

How to delete history

PostPosted:Thu Dec 23, 2010 7:16 am
by terrylim08
Hi! I am newbie in openKM forum.
I love this product and start to implement openKM for our company.
My boss asked how to delete all history (version info) in repository at once.
My initial guess would be downloading all files and re-create repository and uploading them again.

My boss does not like my solution.

Is there any way to delete all history info or clean version info for all files in repository at once?
Is there any way to control maximum number of version for each files?

Please forgive me if my question is too naive or out-of-common-sense.

Thanks in advance.

Re: How to delete history

PostPosted:Thu Dec 23, 2010 4:04 pm
by jllort
Could be implemented a simple process to compact all files to last version on repository, that's not much complicated to be done, but be care with it, because you'll lose all version history and you'll be not possible to return older version ( can be make minimal problem for doing it on scheduler task with some date variable, for example only doing for files older than XX days, months etc... ).

About having some version limitation, it's not good idea I think limiting it, it could be done with minimal changes by creating a OpenKM extension. But consider it's not good idea, which is the logic about it, when you release this number, I think it's better doing some report for detecting this kind of cases and send some mail to some manager or user, that seems better scenario than the pure limitation.