- Veeam Support Knowledge Base
- Online-only files in OneDrive folder not backed up by Veeam Agent for Microsoft Windows
Online-only files in OneDrive folder not backed up by Veeam Agent for Microsoft Windows
| KB ID: | 4018 |
| Product: | Veeam Agent for Microsoft Windows |
| Published: | 2020-09-24 |
| Last Modified: | 2021-07-02 |
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
Challenge
Cause
As a result of using Files On-Demand, files may become Online-only. The contents of a file in this state are not stored on disk, and as such, cannot be read by Veeam Agent for Microsoft Windows.
Veeam Agent for Microsoft Windows does not interact with the files in such a way as to cause OneDrive to automatically download Online-only files.
Files in the OneDrive folder in an Online-only state at the time of backup are silently skipped and are not available for restore from the resulting restore point.
Solution
Understanding OneDrive File States
Only local files are able to read by Veeam Agent for Microsoft Windows.
More information about file states can be found in Microsoft documentation here.
(Files On-Demand Enabled)
(Files On-Demand Enabled)
(Filess On-Demand Disabled)
Force files to be local
There are two ways to force files in OneDrive to become local and protectable with Veeam Agent for Microsoft Windows.
Force specific files or folders in OneDrive to be kept local.
- Browse the OneDrive folder
- Select the files or folders you'd like to keep locally
- Right-click on highlighted files or folders and select "Always keep on this device."
- Wait until the synchronization process finishes.
Force all files and folders in OneDrive to kept local
- Right-click the OneDrive icon in the notification area or the File Explorer.
- Go to Settings > the "Settings" tab.
- Under Files On-Demand, clear the "Save space and download files as you use them" check box.
- Click OK.
After that, all the OneDrive files will be downloaded to the computer and available for the Agent for Windows backup.
More Information
- Files may be placed in an Online-only state when Files On-Demand is enabled in the OneDrive settings.
- Files in a OneDrive folder may be shifted to an Online-only state automatically if Storage Sense is enabled.
- The OneDrive File On-Demand feature may also be enabled by group policy.
- General information about syncing files with OneDrive Files on Demand is available here.
- Veeam Backup for Microsoft 365 - details and links
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.