cardinal

Reruns and cutover

Sync repeatedly while Frappe stays live, retry failures, then cut over.

Run a sync as often as you need while Frappe stays live. Each run brings the Cardinal site to the source's state at the moment it read each table. A sync with nothing changed in Frappe writes nothing.

How a rerun finds changes

The migrator hashes every source row. A new hash is written, an equal hash is skipped, and a name the source no longer has is deleted from Cardinal. It does not trust modified, because Frappe changes fields such as status and outstanding_amount without touching it.

Before it overwrites a row, it compares the Cardinal row with what it last wrote. If they differ, someone edited the record in Cardinal. Frappe wins until cutover, and the Cardinal version is saved as a conflict.

Retry failures

Open Failures and group by error kind.

Open a row to see its source values, converted values and the failing field.

Fix the cause, then press Retry failed, or retry one table, one error kind or one row.

A retry runs the sync's last six steps over the failed rows and files only. The next full sync also tries every failed row again.

Cut over

Put Frappe in maintenance mode:

bench --site SITE set-maintenance-mode on

Confirm it on the Cutover page.

Run a last sync.

Work the checklist until every line is done: no failures, every check passing, no unreviewed conflicts.

Press the last step to turn the Cardinal site's scheduler on.

Point DNS at Cardinal.

Users sign in on Cardinal with their Frappe passwords. Cardinal replaces each Frappe hash with Argon2id at first login.

There is no sync from Cardinal back to Frappe.

On this page