If your OneDrive files have been accidentally deleted, overwritten, damaged, or infected, you can recover files or folders within 30 days of deletion.
How to use Files Restore?
Login OneDrive https://onedrive.com –Settings—Recycle Bin- Select the files you need to restore—Restore