Home › Knowledgebase › KB-817

How to recover lost files from a synced OneDrive folder after accidental deletion or overwrite

Summary

This guide helps you troubleshoot and resolve: How to recover lost files from a synced OneDrive folder after accidental deletion or overwrite. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

If you have accidentally deleted or overwritten a file in your OneDrive sync folder, you can often recover it without needing a full system backup. OneDrive keeps a record of previous file versions and maintains a recycle bin for deleted items. This guide explains how to restore your files using the OneDrive website.

Be aware that the OneDrive desktop application synchronises deletions in both directions. If you delete a file from your local OneDrive folder, that deletion syncs to the cloud, and the file will also be removed from OneDrive online. Similarly, if you delete a file from the OneDrive website, it will be removed from your local computer during the next sync cycle.

Recovering Deleted Files from OneDrive for Business

  1. Open your web browser and navigate to onedrive.live.com.
  2. Sign in using your Microsoft 365 business email address and password.
  3. In the left navigation pane, click Recycle bin.
  4. Locate the file or folder you wish to recover from the list of deleted items.
  5. Select the item by clicking the checkbox next to it.
  6. Click the Restore button in the top command bar.
  7. The file will be returned to its original location in your OneDrive folder and will sync back to your computer.
For OneDrive for Business accounts, deleted files are retained in the Recycle bin for 93 days. This differs from personal OneDrive accounts, which typically have a 30-day retention period. After the retention period expires, items are permanently deleted and cannot be recovered through standard methods.

Restoring Overwritten Files Using Version History

  1. Go to onedrive.live.com and sign in to your account.
  2. Navigate to the folder containing the file that was overwritten.
  3. Right-click on the file name to open the context menu.
  4. From the context menu, select Version history.
  5. A panel will open on the right side of the screen showing a list of previous versions with dates and times.
  6. Click the three dots (...) next to the version you want to restore.
  7. Select Restore to replace the current version with the older version.
Restoring a previous version will overwrite the current version of the file. If you wish to keep the current file, download the older version as a separate copy instead of restoring it.

SharePoint Recycle Bin for Business Accounts

If your organisation uses OneDrive for Business as part of a Microsoft 365 subscription, your files may be stored in a SharePoint document library rather than a personal OneDrive account. Files deleted from SharePoint sites are sent to the SharePoint site recycle bin rather than the OneDrive Recycle bin.

  1. Open your web browser and navigate to your organisation's SharePoint site.
  2. Click the settings gear icon in the top right corner and select Site contents.
  3. In the top right of the Site contents page, click Recycle bin.
  4. Locate the deleted file or folder in the list.
  5. Select the item and click Restore selection.
SharePoint site recycle bins also retain deleted items for 93 days by default, though your organisation's administrator may have configured different retention policies.

Troubleshooting Files Not Appearing in the Recycle Bin

If you cannot find your deleted file in the OneDrive Recycle bin, consider the following:

What to Do If Files Are Older Than the Retention Period

If a file has been deleted or overwritten beyond the 93-day retention period for OneDrive for Business, it cannot be recovered through the standard Recycle bin or version history features. In this situation:

Checking Your Local Sync Folder

If you use the OneDrive desktop app, your files are synchronised between your computer and the cloud. If a file is missing from your local folder:

If you are unable to recover your files using these steps, you can Open a Ticket with our support team for further assistance.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket