Office 365 - OneDrive (How To) Restore your OneDrive
If lots of your OneDrive files get deleted, corrupted, or infected by malware, you may be able to restore your entire OneDrive to a previous time. Files Restore helps you undo all the actions that occurred on both files and folders within the last 30 days.
Refer to the following Microsoft Article for instructions on how to restore your OneDrive:
Restore your OneDrive