How to get rid of old versions without deleting them one by one?
In about 50 doc libs (with drawings) we had versioning (minor and major) ON. Since this whole site becomes quit big (25 GB), I wanted to run a test on our testenvironment to set off all the versioning and check the size of the site afterwards. Now I turned off versioning in all doc libs, but nothing happens on the size of the site. So I notice that sharepoint 'keeps' all the versions, even if they're now not visible for the end-user. How can I get rid of the old versions, without 'deleting' them one by one?
May 7th, 2010 11:16am

(You might have to turn versioning on again for this to work). Go to each doc lib in turn and change the number of versions allowed to (say) one. This will (I have read elsewhere) remove all the versions beyond the one it keeps.FAQ sites: (SP 2010) http://wssv4faq.mindsharp.com; (v3) http://wssv3faq.mindsharp.com and (WSS 2.0) http://wssv2faq.mindsharp.com Complete Book Lists (incl. foreign language) on each site.
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2010 12:30pm

HI there. You may do as Mike Walsh suggested. However, setting a keep version of 1 (which is the lowest) will actually keep the current version and the version before it. Also, the actual removal will not take place until the next publishing action. On Codeplex, I have a small utility to count versions of documents . I have now added functionality to purge all old versions. Take a look to see if that fits you requirements. To use it with multiple document libraries, you can always put a bunch of them in a .bat file and call that. Hope this helps. Regards, MagnusMy blog: InsomniacGeek.com
May 7th, 2010 3:06pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics