Documentation

Migrata Systems help

Migrate Nextcloud Contacts to Google Contacts

You are taking a self-hosted Contacts app out to Gmail, and ContactMigrata moves those vCards for you. URL mistakes dominate the support tickets, because a paste from the Contacts web app points at /apps/contacts rather than the DAV endpoint. You must paste .../remote.php/dav/addressbooks/users/<user>/ exactly, and a private IP address needs the allow flag.

What You’ll Learn

  • This page explains the real Nextcloud DAV URL that ContactMigrata expects from a self-hosted Contacts app.
  • An app password and the private-network allow flag matter for a locked-down host, and this page covers both settings in order.
  • You will learn how KIND:group cards become Google labels, and where Google refuses to store that kind of card.
  • This page also explains why a localhost address and a self-signed TLS certificate fail during discovery, because both break reachability.

What you need

You need sign-in on both sides and write access on the destination, because ContactMigrata reads one side and writes the other. ContactMigrata is free and contacts-only, so mail, calendar, and file migrations need other products instead. A CSV export would have dropped groups and photos, and why not CSV explains that loss. Start with one book and spot-check a group, a photo, and a contact with two emails, because one good sample proves the copy. Our engines must reach the host, and CardDAV discovery and SSRF explains what blocks that reach.

How to map the books

ContactMigrata maps each Nextcloud book onto My contacts or onto a label, because every source book needs a destination container of its own. KIND:group cards become Google labels, but the mapping only happens where Google allows a label, so a group with no equivalent stays behind.

Connect and run

  1. The source connection comes first, and the Connect Nextcloud Contacts guide explains the app password and the DAV path.
  2. The destination step follows, so Connect Google Contacts explains which sign-in grants write access.
  3. If the host sits on a private IP, you enable Allow private network only, because you have arranged reachability for our engines.
  4. Then you run the job, and a pause is honoured between batches, so a pause never splits a batch that already started.
  5. After the job ends, open the destination and check one full contact before you scale up, because a sample card shows the mapping works.

What comes across

ContactMigrata copies people: names, emails, phones, postal addresses, organisation, job title, notes, websites, and birthday when the other side has a place for the value. The tool also copies groups such as Vendors or Family when Google can store an equivalent list. Photos under about 512 KB copy with the person, and larger pictures are skipped while the rest of the contact arrives. The contact photos and fields that survive guides explain the size limit and the field list. ContactMigrata copies the vCards that PROPFIND and GET return, plus KIND:group cards where Google labels allow. Files, Talk, and Circles do not move, because ContactMigrata reads contact cards and leaves every other Nextcloud app alone. ContactMigrata does not copy Gmail, calendars, or files, because those workloads belong to MailMigrata, CalendarMigrata, and FileMigrata. The company directory (GAL) stays on the source, and the tool is not a CRM that merges two cards sharing a display name. Matching uses the hidden id (UID) of each contact inside one job, and duplicates and UIDs explains why that scope protects the copy. A spreadsheet export is a poor shortcut, because CSV drops groups and photos and mints new ids, so a later job cannot match the same people. Read Why not just export CSV? before you export anything.

Common problems

A timeout means that the NAS is unreachable, so you fix the network path before you retry the job. An SSRF error means that a private IP address lacks the allow flag, and that flag is what makes the copy work. Nextcloud to Microsoft 365 is this pair, so read that page when the destination changes. Do not start a second job onto the same destination book unless you want duplicates, because UID handling belongs to one job only. Resume the first job instead, since a new job does not remember the ids that the first job copied. The Duplicates and UIDs page explains that behaviour in full.

When you are ready, run your first address-book migration or pick another pair from Common contact migrations.