Backups & recovery
iDentiCal Sync is unusually forgiving about being wiped and reinstalled — almost everything can be re-derived from OpenDental and Google. This page covers what's actually worth backing up, what's safe to lose, and the exact steps for the two scenarios you'll most likely face.
On this page
What to back up
The only iDentiCal-specific file worth backing up is your licence key. Everything else is either re-derivable or, in the case of OAuth tokens, deliberately bound to the machine it was created on and therefore not restorable.
| File / data | Worth backing up? | Why |
|---|---|---|
| Licence key | Yes | Activates the Software. Lose it and you'll need to email sales@identicalsync.com to retrieve it. |
C:\ProgramData\iDentiCalSync\config\ (clinic config) |
Optional | Saves five minutes of redoing target setup. Cannot be restored to a different machine — see DPAPI. |
C:\ProgramData\iDentiCalSync\logs\ |
Only if asked by support | Useful for diagnosing a specific incident; otherwise rotated automatically. |
| OAuth refresh tokens | No | Encrypted with a key derived from the machine and the LOCAL SYSTEM account. Not portable. Re-authorise on the new install. |
What's safe to lose
If the entire iDentiCal data directory is wiped — by a Windows reinstall, ransomware, a disk failure — what you lose is exactly:
- Five minutes of setup time (re-running the target wizard, signing in to each Google account).
- Historical logs from before the wipe.
What you do not lose:
- Calendar events. They live in Google Calendar; iDentiCal re-discovers events it created by their
extendedProperties.private.identical_managedtag. - OpenDental data. iDentiCal never modifies OpenDental.
- Patient data of any kind. iDentiCal stores none locally beyond the live appointment data it reads each cycle.
After a Windows reinstall (same machine)
This is the most common recovery path — Windows is reinstalled but the hardware is the same.
- Run the iDentiCal Sync installer from the downloads page.
- Enter your licence key when prompted.
- Run the setup wizard. Use the same MySQL connection details as before (these don't change).
- Add each sync target back, picking the same Google account and the same destination calendar for each.
- On the first sync cycle (within five minutes), iDentiCal re-discovers existing events. Future events stay in place, the next ~90 days are re-validated, and any drift between OpenDental and the calendar is corrected.
No duplicate events are created. The identical_managed tag plus a stable clinic-and-target ID let iDentiCal recognise its own past work.
Migrating to a new server
Same as a reinstall, with one extra consideration. If the new machine has a different name or hostname, the encrypted clinic configuration from the old machine won't decrypt on the new one — DPAPI ties the key to the machine. The recovery path is the same as for a fresh install:
- Move the OpenDental MySQL database to the new server as part of the OpenDental migration (this is an OpenDental operation, not an iDentiCal one).
- Install iDentiCal Sync on the new server.
- Enter your licence key.
- Run the setup wizard, point at the new MySQL location (usually still
localhost:3306). - Re-add sync targets.
- On the first sync, iDentiCal recognises existing calendar events and continues from there.
What iDentiCal touches on first run
Useful to know if you're configuring antivirus, EDR, or backup-exclusion rules. iDentiCal's file footprint:
C:\Program Files\iDentiCal Sync\ (program files, read-only after install)
C:\ProgramData\iDentiCalSync\
├── config\ (clinic config, encrypted with DPAPI)
├── logs\ (rolling daily logs)
└── state\ (sync cursors — re-derivable)
Windows Registry:
HKLM\SYSTEM\CurrentControlSet\Services\iDentiCalSync (Service definition)
HKCU\Software\Microsoft\Windows\CurrentVersion\Run (Tray app autostart per user)
The only directory you'd ever need in a backup is config\, and even that is optional — see the table at the top.
A note on DPAPI
iDentiCal encrypts on-disk secrets with the Windows Data Protection API. DPAPI's key is derived from the machine and, for the Service-side bits, the LOCAL SYSTEM account on that machine. This is good for security — an attacker who copies the config file off the disk cannot decrypt it elsewhere — and explains why you can't restore the config to a different machine: the encryption key isn't portable.
This is also why iDentiCal does not offer a "cloud backup" feature for clinic config. A cloud-restorable backup would require us to hold a portable key, which would weaken the at-rest story we currently have. Re-running the five-minute target wizard is the correct trade-off.