Automatic Backup to OneDrive: How It Works
In this article
Yes, OneDrive can automatically back up your files, but it depends on how you set it up. By default, OneDrive syncs folders you choose, and Windows can also use OneDrive to back up your Desktop, Documents, and Pictures folders automatically. This article explains the different automatic backup options, how to turn them on, what they actually do, and common pitfalls to avoid.
What “Automatic Backup” Means in OneDrive
OneDrive offers two distinct features that are often confused:
- Sync: Files in your OneDrive folder are copied to the cloud and to any other device where you’re signed in. Changes you make on one device appear everywhere. This is not a backup in the traditional sense—if you delete a file, it’s deleted everywhere (though you can recover it from the recycle bin for a limited time).
- PC Folder Backup: This feature (also called “Known Folder Move”) automatically copies your Desktop, Documents, and Pictures folders to OneDrive. It’s a true backup because your original files remain on your PC, and copies are stored in the cloud.
When people ask for “automatic backup,” they usually want the second feature—PC Folder Backup—because it protects files without you having to manually drag them into OneDrive.
How to Turn On Automatic Backup
The steps depend on your operating system and OneDrive version. Here’s how to enable PC Folder Backup on Windows 10 and 11:
- Right-click the OneDrive cloud icon in the system tray (near the clock) and select Settings.
- Go to the Backup tab (or “Manage backup” in newer versions).
- Click Manage backup and choose which folders you want to back up: Desktop, Documents, and/or Pictures.
- Click Start backup. OneDrive will begin copying the selected folders to the cloud.
On macOS, you can choose which folders to sync in OneDrive preferences, but the automatic backup of Desktop and Documents is a Windows feature. On mobile, the OneDrive app can automatically upload photos and videos from your camera roll—that’s a separate setting under Photos in the app.
What Happens After You Enable It
Once enabled, OneDrive creates a new location for your Desktop, Documents, and Pictures folders. The original folders are moved into your OneDrive folder (e.g., C:\Users\YourName\OneDrive\Documents). Your files remain accessible from the same shortcuts on your PC, but they’re now physically stored in the OneDrive folder and synced to the cloud.
This means:
- If your PC crashes, your files are safe in the cloud.
- You can access them from another device via the OneDrive app or website.
- If you delete a file locally, it’s deleted from the cloud too—but you have 30 days (or longer with paid plans) to recover it from the OneDrive recycle bin.
- If you edit a file on another device, the change syncs back to your PC.
Common Problems and Misconceptions
“My files are taking up space on my PC.” That’s true—OneDrive keeps local copies of your files by default. You can free up space by making files “online-only” (right-click a file or folder and select Free up space). That removes the local copy but keeps the file in the cloud and visible in File Explorer.
“I have two copies, so I’m safe.” Not exactly. If you have OneDrive on two PCs and you accidentally delete a file on one, it’s deleted on the other after sync. The recycle bin is your safety net, but it’s not a permanent backup.
“I’m backing up my entire PC.” No—OneDrive only backs up the folders you select. It does not back up your operating system, installed programs, or other folders (like Downloads or AppData). For a full system image, you need a separate backup tool.
Storage Limits and Costs
OneDrive offers 5 GB of free storage. If your Desktop, Documents, and Pictures folders exceed that, backup will pause until you free up space or buy more. Microsoft 365 subscriptions include 1 TB of OneDrive storage per user. You can check your usage at onedrive.com under Settings > Storage.
If you have a large collection of photos or videos, consider whether the free tier is enough. You can also exclude subfolders from backup by right-clicking them in File Explorer and selecting “Choose OneDrive folders to sync” (though this is a per-device setting).
Security and Privacy
OneDrive encrypts your files in transit and at rest. That means your data is scrambled while being sent and while stored on Microsoft’s servers. Microsoft says it does not use your files for advertising. However, if you have sensitive documents, you may want to enable personal vault—a separate, more secure area that requires an extra verification step to access.
One important caveat: if you share a file via OneDrive, anyone with the link can view it (unless you set permissions). Be careful when sharing folders that contain personal data.
Alternatives to OneDrive
OneDrive is not the only automatic backup option. Here are a few common alternatives:
- Google Drive: Offers 15 GB free and has a “Backup and Sync” feature for desktop folders.
- iCloud: If you’re in the Apple ecosystem, iCloud can back up your Desktop and Documents on Mac, plus photos.
- Dropbox: Offers automatic folder sync, but no free automatic backup of your Desktop/Documents unless you manually move them.
- External hard drive: Not automatic unless you use backup software like File History (Windows) or Time Machine (macOS).
Each has its own storage limits and pricing. Choose based on where your other files are and which ecosystem you use.
Frequently Asked Questions
Does OneDrive back up my files automatically without me doing anything?
No. You have to enable the backup feature first. After that, it runs automatically—new files you add to Desktop, Documents, or Pictures are uploaded without further action.
Will OneDrive back up my external hard drive?
No. OneDrive only syncs folders that are inside your user profile (or folders you explicitly add to OneDrive). You cannot select an entire external drive for automatic backup.
If I delete a file from my PC, is it gone from OneDrive?
Yes, if the file is in a synced folder, deleting it locally deletes it from the cloud after sync. However, you can restore it from the OneDrive recycle bin within 30 days (or longer with a paid plan).
Can I back up my entire computer with OneDrive?
No. OneDrive only backs up the folders you choose (typically Desktop, Documents, and Pictures). It does not back up your operating system, programs, or other drives.
How do I stop OneDrive from backing up a folder?
Go to OneDrive Settings > Backup > Manage backup, and uncheck the folder you no longer want to back up. Then choose whether to keep the files in OneDrive or move them back to your PC.
Is OneDrive backup safe from ransomware?
OneDrive has version history and file recovery features that can help restore files after a ransomware attack. However, if an attacker gains access to your account, they can delete or encrypt your cloud files too. Enable two-factor authentication for better protection.