Kennisbank › Overstappen › From iCloud to Nextcloud: files, calendar and contacts on your own server
overstappen beginner 31 August 2026

From iCloud to Nextcloud: files, calendar and contacts on your own server

From iCloud to Nextcloud: files, calendar and contacts on your own server You pay Apple monthly for storage, but the data sits on servers you don't manage. Nextcloud runs on your hard...

From iCloud to Nextcloud: files, calendar, and contacts on your own server

You pay Apple monthly for storage, but the data sits on servers you don't control. Nextcloud runs on your own hardware, uses open protocols, and gives you the same synchronization for files, calendar, and contacts. This guide explains how to migrate from iCloud, which protocols are involved, and what you give up.

---

Requirements

  • A server with Nextcloud 28 or newer, reachable via HTTPS
  • A domain name pointing to your server
  • Access to the Nextcloud web interface as an administrator
  • A Mac or Windows machine with iCloud synchronization enabled
  • Your iPhone or iPad with your iCloud account details at hand

The migration itself takes an hour, depending on the amount of files. Configuring your phone afterwards takes another twenty minutes.

---

Step 1: Download files from iCloud Drive

iCloud Drive does not always sync everything to your local disk. Files you haven't opened in a long time are only in the cloud and are downloaded on demand. Before you can migrate, everything must be stored locally.

On your Mac, open System Settings > Apple ID > iCloud > iCloud Drive and enable 'Save files to this Mac'. Wait until all files are downloaded — you'll see the progress icon in Finder. On Windows, do the same via the iCloud app in File Explorer.

Then select the folders you want to transfer and drag them to the local folder linked to the Nextcloud Desktop Client. That client is available for Linux, Windows, and macOS and works the same as iCloud Drive: a local folder mirrors to the server.

This step costs you nothing but time. Without a full local download, you'll miss files that were only in the cloud.

---

Step 2: Export calendars from iCloud

iCloud uses CalDAV, an open protocol for calendar synchronization. Nextcloud supports the same protocol, so you can link the calendars directly. But first, you need to move the existing appointments.

Export your calendars via iCloud.com: go to Calendar, click the share button next to a calendar, and choose 'Export'. You'll get a .ics file per calendar. Do this for each calendar you want to keep.

Then import those files into Nextcloud: open the Calendar app in the web interface, click the gear icon at the bottom right, and choose 'Import calendar'. Select the .ics file and confirm.

The export via iCloud.com is a manual action. There's no button that does it all at once — you have to export per calendar. For three calendars, it takes five minutes; for twenty, a bit longer.

---

Step 3: Export contacts from iCloud

Contacts work the same as calendars, but with the CardDAV protocol. Here too: export first, then import.

On iCloud.com, go to Contacts, select all contacts with Ctrl+A or Cmd+A, click the gear icon, and choose 'Export vCard'. You'll get one .vcf file with all contacts in it.

Import that file into Nextcloud via the Contacts app in the web interface: click the settings icon at the bottom left, choose 'Import contacts', and select the .vcf file.

If you have hundreds of contacts, check after the import for duplicate entries. The Contacts app has an option for this, 'Merge duplicate contacts'. It works well, but verify the result manually.

---

Step 4: Configure iOS for CalDAV and CardDAV

Now that the data is on your Nextcloud server, your phone needs to talk to it. iOS supports CalDAV and CardDAV natively — you don't need an extra app.

On your iPhone, open Settings > Apps > Calendar > Accounts > Add account and choose 'CalDAV account'. Enter your server address — for example https://cloud.yourdomain.com — your username and password. Leave the 'Description' field empty or fill in something recognizable.

For contacts, repeat this with 'Add CardDAV account' under the same menu.

If automatic detection doesn't work, use the full path under 'Server':


https://cloud.yourdomain.com/remote.php/dav/principals/users/yourusername/

This path is specifically designed for clients that don't support automatic detection. iOS usually does, but not always — especially if your server runs behind a reverse proxy.

---

Step 5: Configure the desktop client

The Nextcloud Desktop Client version 3.11 or newer is available for Linux, Windows, and macOS. On Linux, install it via your package manager:


sudo apt install nextcloud-desktop-client

On Windows and macOS, download the client from the official website. During installation, enter your server address, username, and password. The client creates a local folder and syncs it with your server.

The client can also sync your calendar and contacts via built-in CalDAV and CardDAV support, but only if you configure those accounts separately in your desktop's system settings. On Linux, you do this via GNOME Online Accounts or KDE's kontact, depending on your desktop environment.

---

What iCloud does that Nextcloud can't

iCloud Photos is deeply integrated into iOS. Nextcloud has a photo app and automatic upload, but it works less directly: you have to set up upload per device, and the server needs enough processing power to generate thumbnails.

Nextcloud cannot make backups of your entire iPhone. iCloud backs up your complete device — settings, app data, and everything on it. Nextcloud synchronizes files, calendar, and contacts, but not system settings. Use a separate backup strategy for your phone, for example via iTunes or an encrypted local backup.

Shared calendars work in Nextcloud via email addresses or links with configurable permissions. That is more flexible than iCloud, but less direct: you cannot simply add an Apple ID and be done.

What Nextcloud does do better: you decide yourself where your data resides. No storage limits, no subscriptions, no algorithms scanning your photos for ads. As long as your server can handle it, your cloud grows with you.

---

Verification

Check whether the synchronization works by creating a test appointment and a test contact on your phone.

Open the Calendar app on your iPhone, create an appointment for tomorrow, and wait ten seconds. Then open the calendar in the Nextcloud web interface at https://cloud.jouwdomein.nl/index.php/apps/calendar/ — the appointment should appear there.

For contacts: add a new contact on your phone and check whether it appears in the Nextcloud Contacts app at https://cloud.jouwdomein.nl/index.php/apps/contacts/.

On the command line, you can check the synchronization with:


curl -u gebruikersnaam:wachtwoord https://cloud.jouwdomein.nl/remote.php/dav/

This returns an XML list with your calendar and contact accounts. If those appear, your devices are communicating well with the server.

---

Frequently asked problems

Automatic detection on iOS does not work

Some Nextcloud installations behind a reverse proxy pass the wrong path to iOS. Solve this by entering the full path under 'Server':


https://cloud.jouwdomein.nl/remote.php/dav/principals/users/jouwgebruikersnaam/

Calendars appear twice after import

This happens when you import the same .ics file twice, or when you have imported a calendar that already synchronizes via CalDAV. Remove the duplicate calendar in the Calendar app and check whether old calendars are still active in iCloud that you are linking again.

Synchronization stops after a while

Nextcloud server logs usually then show a rate limit or an expired session. Check the log file:


sudo tail -f /var/log/nextcloud/nextcloud.log

If you see an error about 'HTTP/1.1 429 Too Many Requests', increase the rate limits in your web server configuration. This happens especially with large calendars that synchronize often.

---

The switch costs you an hour and a moment of honesty: what iCloud makes easy — full backups, deep iOS integration — you replace with something you have to maintain yourself. What you get back is control over your data and no monthly bill. Whether that is worth it depends on how often you lie awake at night wondering where your photos are.

← Terug naar kennisbank