Documentation

Migrata Systems help

Duplicates and UIDs

This page explains why ContactMigrata sometimes copies a person once and sometimes creates a second card for that contact. ContactMigrata matches on the hidden id that every contact carries, which it calls the UID, so one job never copies the same person twice.

ContactMigrata leaves two “Jane Doe” cards with different ids untouched, because it matches ids rather than names. ContactMigrata is not a CRM, so it keeps those separate cards exactly as the providers delivered them.

Providers wrap the same id differently, so ContactMigrata strips the common wrappers before it compares two values. ContactMigrata removes URN prefixes, uuid prefixes and braces, because those wrappers hide the real GUID that both exports share. ContactMigrata treats two real GUIDs as the same id, so two exports of one card can match.

If the source omits a UID, ContactMigrata generates one for the copy, because the copy needs an identifier of its own. That new id will not match a later independent export of the same person, so a second job can then duplicate that contact.

ContactMigrata deduplicates contacts only inside a single job, because each job keeps its own private set of copied ids. A new job does not inherit the copied UIDs from the first job, so it always starts with an empty set. ContactMigrata makes a failed id retryable when you resume the same job, because the resumed job still carries its original record. Starting over is how people accidentally double the address book, so ContactMigrata recommends resuming the existing entry rather than restarting it.

CSV import also mints new ids for every row and drops groups and photos, which makes later jobs worse. Those fresh ids cannot match the ids that an earlier load already wrote, so ContactMigrata sees the same people as new.

After a Completed job, the Review duplicates page can merge the extra cards that share an email, a phone, or a two-word name. That merge is opt-in, because ContactMigrata never touches a contact record without a clear instruction from you. ContactMigrata never merges the company directory at all, so a shared address in that directory stays as two separate cards.

Google, Microsoft, and CardDAV each label the same id in their own way, so ContactMigrata relies on one normalization rule across all three.

See UID normalization.