Sync iCloud Drive to an External Hard Drive
In this article
Yes, you can sync iCloud Drive to an external hard drive by either copying the iCloud folder to the drive or by redirecting iCloud Drive to the external drive using a symbolic link, which keeps the two locations automatically in sync.
What You'll Need
- A Mac running macOS 12 or later, or a Windows PC with iCloud for Windows installed.
- An external hard drive formatted for the operating system you are using (APFS or HFS+ for macOS, NTFS or exFAT for Windows).
- Enough free space on the external drive to hold the data you want to sync.
- Basic familiarity with Finder (macOS) or File Explorer (Windows) and, for the symbolic‑link method, access to the Terminal (macOS) or Command Prompt (Windows).
Step‑By‑Step
- Verify iCloud Drive is enabled. On macOS, open System Settings (or System Preferences on older versions), click Apple ID, select iCloud, and ensure the iCloud Drive toggle is on. On Windows, open the iCloud app and confirm the iCloud Drive checkbox is checked.
- Locate the iCloud Drive folder. On a Mac, the folder lives at
~/Library/Mobile Documents/com~apple~CloudDocs/. You can quickly open it by selecting iCloud Drive in the Finder sidebar. On Windows, the default path isC:\Users\YourUserName\iCloudDrive. - Connect your external hard drive. Plug the drive into a USB‑C, Thunderbolt, or USB‑A port. Wait for the drive to mount and appear on the desktop (macOS) or in File Explorer (Windows).
- Create a destination folder on the external drive. Name it something clear, such as
iCloudBackup. This folder will hold the synced copy of your iCloud files. - Copy existing iCloud data to the external drive. Drag the entire contents of the iCloud Drive folder into the
iCloudBackupfolder. Depending on the amount of data, this may take several minutes to hours. - Optional: Set up a symbolic link (macOS). If you want iCloud to write directly to the external drive, first rename the original iCloud folder to something like
iCloudDrive_old. Then open Terminal and run:ln -s /Volumes/YourExternalDrive/iCloudBackup ~/Library/Mobile\ Documents/com~apple~CloudDocs
ReplaceYourExternalDrivewith the exact name of your external volume. This creates a link that makes macOS think the original folder still exists while actually storing data on the external drive. - Optional: Set up a symbolic link (Windows). Rename the existing iCloud folder (e.g.,
iCloudDrive_old). Open Command Prompt as administrator and run:mklink /D "%UserProfile%\iCloudDrive" "D:\iCloudBackup"
ReplaceD:\iCloudBackupwith the path to the folder you created on the external drive. The/Dflag creates a directory junction that Windows treats as the original iCloud folder. - Test the link. Create a new file inside the iCloud Drive folder (or its symbolic link). Verify that the file appears instantly on the external drive and that iCloud uploads it to the cloud. On macOS, you can check the iCloud status icons; on Windows, the iCloud system tray will show a sync animation.
- Enable automatic syncing. On macOS, iCloud syncs continuously as long as the external drive remains connected and awake. On Windows, ensure the iCloud app is set to start at login and that the Options panel shows Sync files automatically.
- Safely eject the drive when not in use. On macOS, drag the drive icon to the Trash or click the eject button. On Windows, use the "Safely Remove Hardware" icon. Ejecting prevents data corruption and ensures iCloud does not try to write to a missing volume.
- Maintain a backup strategy. Even though iCloud provides cloud redundancy, keep an additional backup of the external drive on another medium (e.g., a second drive or a network‑attached storage) to protect against drive failure.
Common Mistakes
Many users encounter problems when the external drive is not always available. If iCloud cannot locate its folder, it may stop syncing or create duplicate local copies. Another frequent error is using a drive formatted with a file system that does not support macOS permissions (e.g., FAT32), which can cause permission‑related sync failures. Finally, creating a symbolic link on a drive that goes to sleep frequently will interrupt the link, leading to missing files or sync errors.
Tips
- Use a drive with an SSD or a fast rotational speed to reduce latency when iCloud reads or writes large files.
- Keep the external drive connected to a powered USB hub if you need continuous syncing; this prevents power‑related disconnects.
- Set the external drive to never sleep in the system power‑management settings while you are actively syncing.
- Periodically open the iCloud Drive folder and verify that the file count matches the cloud version by checking the iCloud.com web interface.
- If you prefer not to use symbolic links, schedule a nightly rsync (macOS) or robocopy (Windows) script that mirrors the iCloud folder to the external drive.
Troubleshooting
iCloud stops syncing after the drive is disconnected. Re‑connect the drive and wait a few minutes. If sync does not resume, restart the iCloud app (Windows) or sign out and back into your Apple ID (macOS) via System Settings.
Files appear as “Not Uploaded” or have a cloud icon with a slash. Ensure the drive is mounted and that the symbolic link points to the correct path. On macOS, run ls -l ~/Library/Mobile\ Documents/com~apple~CloudDocs in Terminal to confirm the link destination.
Permission errors on Windows. Verify the external drive is formatted as NTFS or exFAT. Right‑click the iCloudDrive folder, choose Properties > Security, and make sure your user account has Full Control.
Sync speed is very slow. Check that the drive is connected via a high‑speed port (USB‑3.0, USB‑C, Thunderbolt). Also, ensure no other heavy I/O tasks are running on the same drive.
Data loss after a failed symbolic‑link creation. If you renamed the original iCloud folder, you can restore it by deleting the link, renaming the backup folder back to its original name, and then re‑starting iCloud. Always keep a copy of the original folder until you confirm the link works.
Frequently Asked Questions
Do I need to keep the external drive plugged in all the time?
No, you only need it connected when you want iCloud to write new files or when you want to back up the latest version. If the drive is unplugged, iCloud will continue to store files in the cloud but will not sync to the external copy until the drive is re‑attached.
Can I use a network‑attached storage (NAS) instead of a USB drive?
Yes, as long as the NAS appears as a mounted volume on your computer and supports the required file system. The same symbolic‑link method works, but ensure the NAS remains constantly reachable to avoid sync interruptions.
Will using a symbolic link affect iCloud’s version history?
No. iCloud still tracks changes and stores version history in the cloud. The link only changes where the local copy is stored; versioning continues as usual.
What happens if the external drive fails?
If the drive fails, iCloud will revert to storing files only in the cloud. Any unsynced local changes that existed solely on the external drive may be lost, which is why a secondary backup is recommended.
Is there a way to automate the copy without using symbolic links?
Yes. You can set up a scheduled script (e.g., rsync on macOS or robocopy on Windows) that runs nightly to mirror the iCloud folder to the external drive. This method does not require altering the iCloud folder location.
Can I sync only specific folders within iCloud Drive?
iCloud does not provide selective folder sync. You would need to manually copy the desired subfolders to the external drive or use a third‑party sync tool that respects folder selection.