TechBuzzPro

Sync iCloud Photos to Synology NAS – Step‑by‑Step Guide

· 7 min read · Phones & Tablets

In this article
  1. What You’ll Need
  2. Step‑By‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can sync iCloud Photos to a Synology NAS by downloading the iCloud Photo Library to a computer and then using Synology Drive or a scheduled rsync job to keep the NAS folder up‑to‑date.

What You’ll Need

  • A Synology NAS with DSM installed and network access.
  • At least one computer (macOS or Windows) with enough storage to hold a local copy of your iCloud Photo Library.
  • iCloud for Windows (Windows) or the built‑in Photos app (macOS) to download the library.
  • Synology Drive Server package installed on the NAS (optional but recommended).
  • Synology Drive Client installed on the computer, or SSH access to the NAS if you prefer rsync.
  • Administrator credentials for both the NAS and the iCloud account.

Step‑By‑Step

  1. Confirm iCloud Photos is fully uploaded. On your iPhone, iPad, or Mac open Settings (iOS) or System Settings (macOS) → Apple ID → iCloud → Photos and make sure "iCloud Photos" is turned on and the status shows "All Photos Uploaded". If any items are still uploading, wait until the process finishes.
  2. Prepare a local download folder. Create a folder on your computer where the iCloud library will be stored, e.g., C:\iCloudPhotos on Windows or /Users/yourname/iCloudPhotos on macOS.
  3. Download the iCloud Photo Library.
    • On Windows, install iCloud for Windows. Open the app, sign in, click Options next to Photos, check "iCloud Photo Library" and select "Download new photos and videos to my PC". Choose the folder you created in step 2 as the download location. The client will begin copying all iCloud photos to that folder.
    • On macOS, open the Photos app, go to Photos → Preferences → iCloud and ensure "Download Originals to this Mac" is selected. Then in the menu choose File → Export → Export Unmodified Original and point to the folder from step 2. This will copy every original file to the folder.
    The initial download may take a long time depending on library size; ensure the computer stays powered on and connected to the internet.
  4. Set up a shared folder on the Synology NAS. Log in to DSM, open Control Panel → Shared Folder → Create. Name the folder (e.g., "iCloudPhotos"), choose a volume, and enable SMB/AFP if you plan to access it from Windows or macOS. Keep the default permissions or create a dedicated user account for the sync.
  5. Install Synology Drive Server (recommended). Open Package Center, search for "Synology Drive Server", and click Install. Once installed, launch the Drive admin console and enable the shared folder created in step 4 as a sync folder.
  6. Install Synology Drive Client on your computer. Download the client from Synology’s website, run the installer, and launch the application. Choose "Sync Task" → "Create".
    • For Local Folder, browse to the folder you populated in step 3.
    • For Remote Folder, select the "iCloudPhotos" share you created on the NAS.
    • Leave the default sync direction as "Two‑way" if you want changes on the NAS to flow back to the computer, or choose "Upload only" to keep the NAS as a pure backup.
    Click Done. The client will now copy the local folder to the NAS and keep it synchronized in real time.
  7. Alternative: Use rsync with Task Scheduler. If you prefer a script instead of Drive:
    1. Enable SSH on the NAS: DSM → Control Panel → Terminal & SNMP → check "Enable SSH service".
    2. On the computer, create a simple rsync command, e.g., rsync -av --delete "C:/iCloudPhotos/" "username@nas-ip:/volume1/iCloudPhotos/" (adjust paths for macOS).
    3. Test the command manually to ensure it copies files without errors.
    4. Open Task Scheduler on Windows or create a cron job on macOS/Linux to run the command daily or hourly.
    This method gives you full control over bandwidth and schedule, but it does not provide the real‑time monitoring that Drive offers.
  8. Verify the sync. After the first run, browse the shared folder via File Station in DSM or via SMB from another device. Confirm that the number of files and total size match the local folder. Open a few images directly from the NAS to verify integrity.
  9. Maintain the workflow. Whenever new photos are added to iCloud (e.g., from a phone), the iCloud client on the computer will download them to the local folder. Drive or rsync will then push the new files to the NAS automatically. No further manual steps are required.

Common Mistakes

  • Choosing "Optimize Mac Storage" (macOS) or "Optimize iPhone Storage" (iOS) instead of "Download Originals" – this leaves only thumbnails on the computer, so the sync folder ends up empty.
  • Setting the Synology Drive sync direction to "Download only" – the NAS will never receive new files from iCloud.
  • Using the same folder for both the iCloud download and the NAS sync without enabling a proper sync client – this can cause file‑locking conflicts and duplicate files.
  • Running rsync without the --delete flag – deleted photos remain on the NAS, leading to a divergent backup.
  • Forgetting to grant the NAS user read/write permissions on the shared folder – the client will report "Permission denied" and stop syncing.

Tips

  • Store the local iCloud download folder on a fast SSD to speed up the initial copy.
  • Enable "Versioning" in Synology Drive Server to keep previous versions of edited photos.
  • If you have a large library, run the initial download overnight to avoid network congestion.
  • Use a dedicated NAS user account with a strong password and limit its access to the sync folder only.
  • Check the iCloud client’s log (Windows: %USERPROFILE%\AppData\Roaming\Apple Computer\Logs\iCloud) if downloads stall.

Troubleshooting

Sync does not start or stops after a few files

  • Restart the Synology Drive Client and ensure you are logged into the same DSM account used to create the sync task.
  • Verify that the NAS IP address is reachable (ping it) and that port 22 (SSH) or the SMB ports are not blocked by a firewall.
  • Open Control Panel → Resource Monitor on the NAS and confirm there is enough free storage; low space can cause silent failures.

New iCloud photos are not appearing on the NAS

  • Check the iCloud client on the computer – it may be paused or set to "Only upload". Resume the download.
  • Make sure the local folder you selected in the Drive client is the exact folder where iCloud stores new files.
  • If using rsync, run the command manually with -vv for verbose output to see which files are being considered.

Duplicate files appear after a sync

  • Duplicates often arise when the sync direction is set to two‑way and you manually move files on the NAS. Switch to "Upload only" to keep the NAS as a true backup.
  • Delete the duplicate set on the NAS, then run a "Force Sync" from the Drive client (right‑click the task → "Sync now").

Connection drops during large transfers

  • Increase the timeout setting in the Drive client: open the client → gear icon → Preferences → Network → raise "Connection timeout".
  • On the NAS, go to Control Panel → Network → TCP/IP and enable "Large Send Offload" if supported by your network card.

Frequently Asked Questions

Do I need a Mac to sync iCloud photos?

No. Windows users can use the official iCloud for Windows app to download the library, then sync it to the NAS the same way as a Mac.

Can I sync only selected albums instead of the whole library?

The iCloud client does not provide per‑album filtering. To sync specific albums, manually copy those folders from the local download location to a separate folder and create a dedicated sync task for that folder.

Will the sync use my mobile data if I’m away from home?

Both iCloud for Windows and the macOS Photos app respect the system’s "Metered connection" setting. Ensure your computer is set to "Wi‑Fi only" for iCloud downloads, or pause the client when on cellular.

Is the sync encrypted?

Data transferred between the computer and the Synology NAS over SMB is encrypted if you enable SMB3 with encryption in DSM (Control Panel → File Services → SMB/AFP → Advanced). rsync over SSH is encrypted by default.

What happens if I delete a photo from iCloud?

If you use a two‑way Drive sync, the deletion will be propagated to the NAS after the client processes the change. If you prefer to keep a permanent backup, set the sync direction to "Upload only" or enable versioning on the NAS.

Can I access the synced photos remotely?

Yes. Enable QuickConnect or set up a secure VPN on the NAS, then use File Station, Synology Photos, or any SMB client to view the files from outside your home network.