Losing an entire file to deletion is obvious and alarming, but a quieter and far more common problem is overwriting a good version of a document with a bad edit, or realising three drafts later that you need something you deleted from a spreadsheet last Tuesday. Version history solves this by keeping earlier saves of a file recoverable, and this guide shows you how to set it up properly across the tools most people already have.
What Version History Actually Is (and Isn't)
Version history is different from a standard backup. A backup protects against loss of an entire file or drive; version history protects against bad edits to a file that still exists. It keeps multiple snapshots of the same file over time, so you can step back to "the version from before I deleted that paragraph" without needing to restore an entire backup set.
The two work best together: version history handles day-to-day editing mistakes, while a full backup (see our guide on choosing an external hard drive, or NAS vs cloud backup) handles catastrophic loss like drive failure or theft.
Enabling File History on Windows
Windows' built-in File History tool doubles as both a backup and a version history system, since it keeps multiple saved copies of files over time rather than just the latest one.
Windows 11
- Connect an external drive that will store the version history (this cannot be the same physical drive as the files being tracked).
- Go to Settings > System > Storage > Advanced storage settings > Backup options, or search "File History" in the Start menu and open File History Control Panel.
- Select your external drive and click Turn on.
- Click Advanced settings to configure how often Windows saves copies (as often as every 10 minutes) and how long versions are kept (from 1 month up to "Until space is needed" β choose the latter for maximum protection if drive space allows).
Windows 10
- Go to Settings > Update & Security > Backup.
- Under "Back up using File History," click Add a drive and select your external drive.
- Toggle Automatically back up my files to On.
- Click More options to add extra folders beyond the defaults (Documents, Pictures, Desktop, etc.) and to set the save frequency and retention period.
Pro tip: By default, File History only tracks a specific set of folders (your user profile's Documents, Pictures, Music, Videos, Desktop, and OneDrive folders). If you keep important work files elsewhere β a separate
D:\Projectsfolder, for instance β you must add it manually via "More options > Add a folder," or File History will silently skip it entirely.
Using File History to Recover a Previous Version
Once running, recovering an earlier version of any tracked file takes moments:
- Open File Explorer and navigate to the file's folder.
- Right-click the file and select Show more options > Restore previous versions (Windows 11) or find it via the File History Control Panel.
- Browse through the available snapshots using the timeline arrows.
- Preview a version by double-clicking it (opens read-only), then click Restore on the correct one once you've confirmed it's what you need.
Version History in OneDrive
If you save files to OneDrive (built into Windows and widely used for its automatic sync), version history is available without any extra setup, both for personal Microsoft accounts and Microsoft 365 subscriptions.
- Go to onedrive.com and sign in, or right-click a file within your OneDrive folder in File Explorer.
- Select Version history from the right-click menu (in the browser) or via View online > Version history from File Explorer.
- Browse the list of previous saves, each timestamped, and choose Restore to roll the file back, or Download to save that version separately without affecting the current one.
Free OneDrive accounts typically retain a reasonable number of versions per file; Microsoft 365 subscribers get extended retention. Note that version history for a file only starts accumulating once the file is stored in OneDrive β files that existed locally beforehand won't have retroactive history.
Safety tip: OneDrive version history is separate from the Recycle Bin. If you've deleted an entire file rather than just made a bad edit, check the Recycle Bin on onedrive.com first (kept for up to 30 days), not just version history, which only applies to files that still exist.
Version History in Google Drive and Google Docs
Google's ecosystem handles version history slightly differently depending on file type.
Native Google Docs, Sheets and Slides
These save version history automatically and continuously, with no setup required:
- Open the file and go to File > Version history > See version history.
- Named versions and automatic checkpoints appear in a timeline on the right.
- Click any version to preview it, and click Restore this version to make it current, or Make a copy to branch off without overwriting anything.
- To make it easier to find important checkpoints later, click Name current version after finishing a significant piece of work rather than relying purely on automatic snapshots.
Uploaded Files (Word docs, PDFs, images, etc.)
For non-native files stored in Google Drive:
- Right-click the file in Google Drive and select Manage versions.
- Google Drive keeps a limited number of recent versions or 30 days of history (whichever comes first) for uploaded files by default, unless you tick Keep forever next to a specific version you want preserved indefinitely.
- Upload a new version of the same file (rather than creating a new file) to add to its history, using Manage versions > Upload new version.
Setting Version History for Locally Edited Documents
If you work primarily in desktop apps like Microsoft Word or Excel outside of OneDrive/Google Drive syncing, you can still get versioning through AutoRecover and manual habits:
- In Word or Excel, go to File > Options > Save and confirm Save AutoRecover information is enabled with a short interval (5β10 minutes).
- This protects against crashes but not against deliberate overwrites β for genuine version history on locally stored files, File History (covered above) is the correct tool, since AutoRecover files are typically deleted once you close the document normally.
Choosing Retention Settings Sensibly
More history sounds better, but it isn't free β every retained version consumes storage space. A sensible approach:
- For actively edited work documents, keep frequent versions (hourly or more) for at least a month.
- For largely static files like photos, less frequent versioning is fine since they rarely get "bad edits."
- If your backup drive is small, set File History to a capped retention period rather than "until space is needed," so it doesn't silently fail to save new versions once the drive fills up.
Warning: Version history is not a substitute for a genuine backup. If your only copy of a file lives on OneDrive or Google Drive with version history enabled, and your account gets compromised or suspended, both the current file and its version history can become inaccessible at the same time. Keep an independent backup copy as well, per the 3-2-1 rule.
With version history properly configured across your local drive and any cloud services you use, a bad edit, an accidental overwrite, or a moment of "I definitely deleted that by mistake" becomes a two-minute fix rather than lost work.
Was this guide helpful? Explore more Data Backup guides, or browse all Security & Performance articles.