IdPVault
Docs · self-hosted IdP backup & restore

Clone & promote

Apply a snapshot into another tenant: staging to prod, standby, DR.

What Clone does

Clone applies a snapshot from one tenant into a different tenant of the same provider: promote staging to production, seed a standby instance, spin up a matching environment, or rebuild after a disaster. The Clone page appears in the sidebar as soon as two active tenants share a provider (admins and org admins with write access). Cross-provider cloning is not possible - an Okta snapshot cannot be applied to an Authentik tenant.

Safety rails

You always get a read-only dry-run preview first. The apply requires a justification and your password, and the confirmation spells out the write direction ("the TARGET being written to is ...") - double-check it. Applies run as background jobs with real 0-100% progress; large clones survive closing the dialog or the browser. When it finishes, the completion line shows N applied, N failed, N ignored per part, and the full per-object report lands in the target tenant's restore history.

Secrets are never cloned. Identity providers do not export secret material, so recreated apps and providers come back with NEW client secrets and signing keys (the report flags exactly which), and cloned users arrive without passwords or MFA - they reset on first login. Integrations pointed at the target need their credentials re-entered.

Reading the report

A clone into a real instance rarely applies 100% of objects, and the report tells you exactly why for each one:

Re-running a clone is always safe: it converges, reporting already-matching objects as identical and only writing what differs.

Clone alerts

Clones have their own alert category (Administration > System settings > Alerts > Clones, per channel). One summary alert per clone part: source and target, snapshot, the applied/failed/ignored result, the application list by name, compact per-type counts, the justification, and a link to the target's restore history (clickable when the Public URL setting is set). Like all new alert categories, existing installs need the checkbox ticked once.