Sharepoint Cleanup
Hi
We would like to cleanup some of the content mainly files in our SharePoint sites. The contents in SP have grown out of control with over 1Million files.
We would like to move some of the old/unused data to a file system. The criteria for moving the files would be if the file has not been accessed in last few years then we would move it to a file system and clear it from SP.
At the moment, we are not sure how to approach this problem of cleanup. Could someone in the community give us some ideas on how to deal with the cleanup process?
Thanks
May 27th, 2011 12:00pm
Hi,
You can do it in multiple ways. You need to write code to move it to file system
You can deploy the code as timer job is you want this activity to be done on a regular basis. If you want this to be executed only once then you can create a console application and run.
I hope this will help you out.
Thanks,
Rahul Rashu
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2011 1:46am
Hi Rahul
Thank you for your reply.
I am not familiar with the SharePoint development, but is there a easy way to identify files that has not been accessed in last few years? SharePoint DB has a column for last modified date of the file but not for last accessed date
of the file. How do I find the information for last accessed date of a file?
I really appreciate your help!
May 31st, 2011 12:08pm
As far as I know "Last Access Date" is not metadata that is collected for any documents unless it is custom coded in somehow.
One thing you could do is set up the file system to archive data that was last modified on a certain date, but give your admins (or possibly users) the ability to move those files back to the site when it is necessary for them to be used.
But, as Rashu stated, to move the data to a file system you would want to write or have code written to assist with the job.
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2011 1:56pm