Home › Knowledge base › Excluding cloud-sync placeholder files
Excluding cloud-sync placeholder files
- Article
- KB-1038
- Category
- Backup
- Applies to
- Windows, macOS; agent 4.2.0 and later
Background
Cloud sync clients can show files in a folder without storing their contents on the device. Opening such a placeholder file causes the sync client to download it.
What the agent does
From agent 4.2.0, placeholder files are detected and skipped without being opened. They do not appear as warnings. Files that have been downloaded and are stored locally ("always keep on this device" in OneDrive) are backed up normally.
Before 4.2.0 the agent opened every file, which caused the sync client to download the user's entire cloud storage. If you see this behaviour, update the agent.
What this means for you
Files that exist only in the cloud are not protected by the device agent. Decide how they should be protected:
- For OneDrive and SharePoint in Microsoft 365, use Microsoft 365 backup, which backs up the cloud copy directly. This is the recommended approach.
- For other services, either mark important folders to be kept on the device so the agent can back them up, or accept that the service's own retention is the only protection.
Excluding sync folders entirely
If cloud content is protected another way, exclude the sync folders to avoid storing downloaded files twice:
C:\Users\*\OneDrive*\
C:\Users\*\Dropbox\
Checking
cbk sources test "C:\Users\j.smith\OneDrive - Brackwell Dental\Budget.xlsx"
reports skipped: cloud placeholder for a file that is not stored locally.