Forum Discussion
Workaround for accidentally deleting files in Sharepoint online
We are using Online Sharepoint and users sometimes deleted files accidentally and after couple of months they realize these files required, as I know this can be recover up to 92 days but I want to know if there is best practice can be provided for similar cases.
- is it possible to edit delete confirmation prompt to highlight message "file can't be retrieved after 92 days"?
- what about deleting files from users synced folders? once it deleted and it goes to machine/SP Recycle Bin, is the file in machine recycle bin will remain more than 92 days? can it be restored after 6 months ?
- is there an option to add delete confirmation for synced folder as well?
Regards,
Ehab
- Look into turning in preservation / retention policy for your SharePoint sites. This will keep all the files in a separate location for restore for time specified. I have mine set seven years.
It does add a little bit if delay to deleting files and can make it harder to delete folders but it will preserve your files from this issue.- Ehab7Copper ContributorChrisWebbTech
Thanks for response.. but I am looking workaround of accidentally deleted files.
As I understand retention policy will delete not modified files ie. 7 yrs not modified will go to recycle bin, then it will take 30 days then go to second stage. right?
I want like workaround for files deleted by users by mistake and increase 93 days to custom date.
Regards,
Ehab- Andrew HodgesBronze ContributorThere is not a way to increase the 93 days.
Only option would be a backup product. TBH all the organisations I have worked for accept the 93 day limitation mostly because they are used to 30 days on prem and see the 93 as a vast improvement.
I have mentioned in previous posts that the way to get buy in for the 93 days is to get the organisation to sign off on the 93 days and then if users do delete data and don't realise for 93 days, IT are covered.
- Andrew HodgesBronze Contributor
Answers to your questions:-
is it possible to edit delete confirmation prompt to highlight message "file can't be retrieved after 92 days"? No, afraid it is not possible.
- what about deleting files from users synced folders? once it deleted and it goes to machine/SP Recycle Bin, is the file in machine recycle bin will remain more than 92 days? can it be restored after 6 months ?
This depends on whether the file is on stored on the device or just an online only file when deleting.
Online Only - removes the file from the users PC, does not put it into the users recycle bin. Puts the file into the SP recycle bin. 93 days applies
On the users PC - removes the file from the users PC, puts the file into the users recycle bin. Puts the file into the SP recycle bin. User is able to retrieve the file at any time unless the local recycle bin is emptied. 93 days applies to File in SP recycle bin.
- is there an option to add delete confirmation for synced folder as well?
There is already a confirmation that appears, nothing out of the box can change this to my knowledge.
- Ehab7Copper Contributor
Thanks for your response!
It would be better if second recycle bin in SP is stay for longer or to be cleared manually only when it's required as the 93 days not that long specially if there is critical data!
I'm still looking for solution for this and hope will find something 🙂
for delete confirmation on synced folder, I don't get any delete confirmation message when I hit Del button.
At least Microsoft if can customize the delete confirmation to notify users files will not be retrieved after 30/90 days! will be good idea specially when users experience on file server mostly files can be retrieved via routine backup.
Regards,
Ehab
- You set a preservation policy. All files deleted go into the preservation hold library for whatever time period you specify. It’s like a 7 year or whatever you define recycle bin that users can’t delete from. That’s why I said preservation/ retention can’t remember what the policy is called they kind of cross terms.
- shawn_fieldingIron Contributor
Ehab7 Just a thought. Could you set up a flow that sends a message to the deleter saying "you deleted xxx files. Did you really mean to do that?" Heck, you could even send it at a later time within the deletion recovery period.
- jenellerCopper Contributor
Hi Ehab! If you're looking to protect your org from accidental deletions then AvePoint's Office 365 Backup should be able to help. We're a Microsoft partner that can search and restore granular O365 content regardless of when the item was deleted.
Let me know if you have any questions!