Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Restore an Older Version of a File or Folder?

· 6 min read · Home Tech

In this article
  1. Why Would You Need to Restore an Older Version?
  2. Windows: Using File History and Previous Versions
  3. macOS: Time Machine and Local Snapshots
  4. Cloud Storage: OneDrive, Google Drive, and Dropbox
  5. What If You Have No Backup or Version History?
  6. How to Choose the Right Restore Method
  7. Common Problems and Misconceptions
  8. Frequently Asked Questions

Yes, you can restore an older version of a file or folder on both Windows and macOS, as long as a backup or version history exists. The exact steps depend on your operating system, whether you use a cloud service like OneDrive or iCloud, and if you have File History or Time Machine enabled.

Why Would You Need to Restore an Older Version?

Accidental overwrites, ransomware attacks, or simple mistakes are common reasons to revert to an earlier version of a document. For example, you might save a spreadsheet, then realize you deleted an important row, or a program might corrupt a file during a crash. Restoring an older version can also help you recover from a folder that was accidentally emptied or replaced. The key is knowing where the previous versions are stored and how to access them.

Windows: Using File History and Previous Versions

Windows has two built-in features that can restore older versions: File History (a backup tool) and Previous Versions (a tab in file properties). Previous Versions relies on either File History backups, system protection restore points, or shadow copies created by Windows. If you have File History turned on, you can browse a timeline of versions for any file or folder.

To restore a file on Windows 10 or 11:

  1. Right-click the file or folder and select Properties.
  2. Go to the Previous Versions tab.
  3. Select a version from the list and click Restore (to replace the current version) or Copy… (to save it elsewhere).

If you don’t see any versions, check that File History is enabled in Settings > Update & Security > Backup, or that System Protection is on for the drive. If neither is active, Windows may still have shadow copies from restore points, but only if you’ve created them.

macOS: Time Machine and Local Snapshots

Time Machine is macOS’s built-in backup utility. It automatically backs up your entire system, including files and folders, to an external drive or network storage. If you have Time Machine enabled, you can enter the “Time Machine” interface and scroll back through time to find an older version of any item.

To restore a file or folder from Time Machine:

  1. Open the folder where the item was located.
  2. Click the Time Machine icon in the menu bar and choose Enter Time Machine.
  3. Use the timeline on the right or the arrows to go back to the date you want.
  4. Select the item and click Restore.

If you don’t have an external backup drive, macOS also keeps local snapshots on the same disk, but only if Time Machine is enabled (even without a backup drive). These snapshots are stored on the startup disk and may be available for the last 24 hours or until space runs out.

Cloud Storage: OneDrive, Google Drive, and Dropbox

If you use cloud storage, version history is often available online, even if you never turned on a backup feature. OneDrive keeps versions for all file types for up to 30 days (or longer if you have a Microsoft 365 subscription). Google Drive keeps versions for 30 days (or 100 versions for Google Workspace users), and Dropbox offers 30 days of version history on free plans and 180 days on paid plans.

To restore an older version in OneDrive:

  1. Right-click the file in File Explorer and select Version history.
  2. Choose a version from the list and click Restore.

For Google Drive, right-click a file and select Manage versions; for Dropbox, right-click and choose Version history. These services also let you preview the version before restoring. Note that folders themselves may not have version history in all services—only files—so you might need to restore the contents individually.

What If You Have No Backup or Version History?

If you’ve never enabled File History, Time Machine, or cloud sync, your options are limited. Windows may still have shadow copies if System Protection is on, but that’s not guaranteed. On macOS, local snapshots are only created when Time Machine is enabled. In that case, you could try third-party recovery software, but success is not guaranteed, especially if the disk has been written to since the deletion or overwrite. The best strategy is to prevent this situation by enabling a backup solution before you need it.

How to Choose the Right Restore Method

The method you should use depends on where the file lives and what you’re trying to recover:

  • Local files on Windows: Use File History or Previous Versions.
  • Local files on macOS: Use Time Machine or local snapshots.
  • Files synced to the cloud: Use the service’s version history.
  • Files on a network drive: Check if the server has shadow copies (Windows) or Time Machine backups (macOS).

If you need to restore an entire folder, the process is the same as for a file, but you must ensure the folder’s parent directory is the same. For example, if you want to restore an old version of a folder called “Reports” that was in “Documents,” open “Documents” and then enter Time Machine or Previous Versions.

Common Problems and Misconceptions

One common misconception is that “Previous Versions” always contains data. In reality, it only works if backups or restore points exist. Another issue is that restoring a folder replaces the current version—if you want to keep the current one, use “Copy…” to save the old version elsewhere. Also, some cloud services only keep versions for certain file types; for example, Google Drive keeps versions for all files, but if you use Google Docs, the version history is under “File > Version history.” Finally, if you’re trying to restore a file that was deleted, you might need to look in the Recycle Bin or Trash first; version history may not include deleted files unless the service has a “trash” feature.

Frequently Asked Questions

Can I restore an older version of a file if I don’t have a backup?

Possibly, if your system has shadow copies (Windows) or local snapshots (macOS), but these are only created if you’ve enabled the respective features. Without any backup or versioning, recovery is unlikely. You could try third-party recovery tools, but they are not guaranteed to work.

How long are previous versions kept?

It depends on the method. File History keeps versions as long as there is space on the backup drive. Time Machine keeps versions until the drive is full, then deletes the oldest. Cloud services typically keep versions for 30 days (OneDrive, Google Drive, Dropbox free), but paid plans may offer longer retention.

Does restoring an older version affect the current file?

Yes, if you click “Restore,” it replaces the current version with the older one. If you want to keep the current version, use “Copy…” to save the older version under a different name or location.

Can I restore an older version of a folder on Google Drive?

Google Drive does not offer version history for folders, only for files. If you need to restore a folder, you must restore its individual files. However, if the folder was deleted, you can restore it from the trash within 30 days.

What if the “Previous Versions” tab is empty?

This means no backups or restore points exist for that file or folder. You can enable File History or System Protection now to prevent this in the future, but you cannot recover past versions that were never saved.

Can I restore a file from an external drive using Time Machine?

Yes, Time Machine can back up external drives if you’ve included them in the backup settings. When you enter Time Machine, you can navigate to the external drive’s folder and restore files just like you would for internal drives.