StephenPink Posted October 22, 2020 Posted October 22, 2020 Hey all, Been thinking about some data archiving - old home areas. Seeing as we have 365 and it's almost unlimited storage, I wondered if there was a way to use a SharePoint library literally as just some file storage? I can get it working by manually logging in, syncing the relevant library and copying the files. However I'd like it to all be automated.... Previously was using a Powershell script that would automatically check for user homes without an account associated, and move the whole folder to a file share. Trying to replicate that but to SharePoint is not going so smoothly - stumbling block appears to be the authentication to SharePoint. Anyone got any bright ideas or am I looking at this the wrong way? Cheers, Stephen
psydii Posted October 22, 2020 Posted October 22, 2020 Retention policies, applied to the site (retain for xx years after policy applies to file, then delete). Use Sharepoint Migration tool to copy the folders to the site. Watch out though, you can easily set the policy to delete once a file is xx years old, and when migrating some of your files may already be past that age, meaning they get deleted pretty much straight away. Given that you are moving to the cloud, why not just leave the folders in place on the local servers, and for current users (who we presume are now up in onedrive) when they leave, simply *disable* accounts and ensure they retain an A1 licence. Their data is retained, and you can then remove them as per your data retention policy by deleting thier account in AD.
DaveTheTech Posted October 22, 2020 Posted October 22, 2020 I have just done this using rclone. Got a list of users that were in a leavers OU, grabbed their home drive and moved the contents to an other folder. This was then uploaded to OneDrive/SharePoint using rclone.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now