Sub topic 15
Good habits and limits to know
This chapter assumes you have turned on iCloud Drive, know the Finder sidebar, and can read the cloud and progress icons from earlier chapters. It pulls those pieces into working rules and lists what iCloud Drive does not do.
Sync is not backup
iCloud Drive mirrors one set of files across your devices. If you delete a file on your Mac, the deletion reaches your iPhone and iCloud.com too. Overwrites and corrupted files spread the same way. Recently Deleted on iCloud.com keeps removed files for a limited time (30 days at the time of writing), and version history covers some edits. Neither replaces a backup.
Keep a separate backup, such as Time Machine, for anything you cannot afford to lose.
Habits that prevent most problems
- Let uploads finish. Before you shut down, close the lid for a long trip, or sign out, check that no file shows a progress icon.
- Keep an eye on free space. Sync stalls when your iCloud plan is full. Check the quota in System Settings now and then, and clean up before you hit the limit.
- Pin what you need offline. Use Keep Downloaded on files you need without a connection. Optimize Mac Storage can otherwise turn them into cloud-only placeholders when disk space runs low.
- Avoid editing one file on two devices at once. If both devices were offline, you may get a conflict copy. Pick the right version and delete the other.
- Do not move or rename the iCloud Drive folder. Reach it through Finder or its path in Terminal.
- Use clear folder names. A predictable structure makes sharing and troubleshooting easier.
What does not belong in iCloud Drive
Some content is a poor fit because it has thousands of small files that change constantly, or because tools expect fast local access.
| Content | Why it causes trouble | Better choice |
|---|---|---|
| `node_modules`, build output, virtual environments | Huge numbers of small, fast-changing files | Exclude with `.nosync` |
| Git repositories | The `.git` folder changes in many places at once | Keep outside iCloud Drive, push to a remote |
| Live database or app library files | Partial syncs can corrupt them | Use the app's own sync or backup |
| Very large, rarely used archives | They fill your quota | External drive or a bigger plan |
If a project must sit in a synced folder, keep the generated parts out of sync:
mv node_modules node_modules.nosync
ln -s node_modules.nosync node_modulesThe first command renames the folder so iCloud ignores it. The second creates a symbolic link under the original name, so your tools still find it.
Deciding where a file goes
Known limits
- Your plan's quota covers iCloud Drive, backups, and more. Running out stops uploads.
- Sync needs a network connection and time. Large files can take a while.
- Cloud-only files cannot be opened offline until they download.
- Sharing relies on the other person's Apple Account and permissions. Check who can edit before you share.
Exercise
You keep a coding project in iCloud Drive. Sync is slow, and a teammate asks if iCloud Drive is enough to protect the project. What two changes do you make?
Show answer
Exclude generated folders such as node_modules with the .nosync suffix and a symbolic link, and keep a separate backup (Time Machine, or a Git remote for the code). Sync is not backup, because deletions and overwrites spread to every device.