Anyone done this before and can recommend something?
This is for Umbraco 7.15. Ultimately, I’m preparing the content for an Umbraco 10 migration and don’t need to carry over any of the history, but the ‘pending changes’ versions seem to be affecting my ability to update content that needs to change to UDI based format.
Content version history clean-up
Hello
I am looking for a script (or package) that can clean up everything apart from the currently published version (green box) i.e.
I ‘ve searched the forum and found a few references to this script: clean-db-Umbraco-7.5.14.sql https://gist.github.com/genckastrati/0e7f7ae6156647e00a56eb5ef403166d
but that only covers #1, not #2.
Anyone done this before and can recommend something?
This is for Umbraco 7.15. Ultimately, I’m preparing the content for an Umbraco 10 migration and don’t need to carry over any of the history, but the ‘pending changes’ versions seem to be affecting my ability to update content that needs to change to UDI based format.
Cheers
Andrew
NB it seems the 'Save' versions is just the content editor using the 'save + preview' button to see the page, not actual content revisions
Hi Andrew,
Did you check https://github.com/skttl/umbraco-unversion for Umbraco 7 ?
Hi - thanks, yeah I had seen that package but hadn't tried it yet. Can you configure it to clean up saved versions since the latest published version?
https://github.com/skttl/umbraco-unversion doesn't seem to do anything on Umbraco 7.15 (is doesn't automatically run)
Hi Andrew.
I think Unversion only runs on save and publish events. However, I would highly recommend Unversion. It works like a charm.
Clearing the history is not the same as clearing the versions. So if you also wanna clearing the history, you will have to do it in another way.
The History tab you show, only shows, who did what and when. Even if you remove all the versions from the document, the history will still be there.
The versions you are looking for is avaiable in the rollback option on a document.
what about umbraco 10?
is working on a reply...