Forum Discussion
SharePoint Online Recycle Bin Copy/Backup
Thanks for the update and details.
Is there perhaps a powershell script (or command rather) that you know of that I can use to copy files to my local pc or server?
Thanks.
jvdwesthuizen afraid not.
Have you looked at retention labels? Applying retention labels makes it harder for users to delete files as they have to physically remove the retention label before being able to delete the content. Its not actually how I would have implemented retention labels but may be useful in this case.
- jvdwesthuizenSep 17, 2019Brass Contributor
Yes, I'm aware of this and have looked onto it but then IT have to remove the files and want to avoid that and also sometimes poeple creates folders / files by mistake, then they can jsut delete them.
So there is no possible way do possibly sync / download the sharepoint online recycle bin with a script or another way?
Thanks.
- Andrew HodgesSep 17, 2019Bronze Contributor
jvdwesthuizen Not that I have seen, all restored content is restored to its original location and there isnt an option to restore it somewhere else.
- jvdwesthuizenSep 17, 2019Brass Contributor
Came access this, looking into this now: https://social.msdn.microsoft.com/Forums/SECURITY/en-US/72561eb7-2794-4ca1-8776-de04c3c7998a/download-recycle-bin-data-from-sharepoint-online-using-csom-c?forum=sharepointdevelopment
Thanks.