Home › Documentation › Troubleshooting › Error codes › CBK-3010: Path too long
CBK-3010: Path too long
- Code
- CBK-3010
- Category
- Source data
- Logged as
- Warning
- Applies to
- Windows, agent before 4.6.0 by default
Message
CBK-3010 Skipped path exceeding 260 characters: D:\Shares\Projects\2019\...
Cause
Windows historically limits paths to 260 characters. Files with longer paths can be created through network shares, by some applications, and by deep folder nesting, and then cannot be opened by programs using the older interfaces.
Agent 4.6.0 and later read long paths by default, up to 32,767 characters. Earlier versions skip them unless long path support is turned on.
Resolution
- Update the agent to 4.6.0 or later. This is the simplest fix.
- On agent 4.4 or 4.5, enable long paths:
cbk config set sources.long_paths true - Alternatively, shorten the paths. Folder structures this deep usually cause problems for other software as well.
On agents before 4.6.0 the setting is off by default because restoring long paths to a system that cannot handle them produced files users could not open or delete. From 4.6.0 the restore wizard warns when a restore includes long paths and the destination does not have long path support enabled in Windows.