OkaySuite
← Back to Resources
Backup & Restore· October 12, 2026

Should you back up (everything) (in) your Okta tenants?

Backup and restore: understand what is possible, advisable, and necessary, and above all what you should not do

Why back up Okta?

Okta is a critical IdP (Identity Provider): losing or corrupting data can lock out some or all of your users and make applications and resources unreachable. In short, it can turn into a disaster very quickly. Okta does guarantee that its services keep running, but if you make a mistake and delete data in Okta (and it happens, trust me!), Okta offers no mechanism that lets customers restore an earlier version of the data and configuration that was in Okta before the deletion. This is Okta's well-known Shared Responsibility Model.

The main risks and stakes include:

  • Accidental deletion of a group or an application (for example, deleting "All Employees" → nobody can access anything).
  • An automation (workflow or group rule) that erases sensitive data (for example, users or attributes).
  • A corrupted access policy (for example, a rule that blocks every MFA sign-in).
  • A malicious attack (for example, a compromised admin account deletes users or apps).
  • A tenant migration or merger (for example, an acquisition or a reorganization).
  • Compliance (for example, DORA, GDPR, SOC 2, ISO 27001), which requires backups for business recovery (RTO) and data recovery (RPO).

This is essential to understand: an Okta backup and restore can only be done through the public APIs Okta publishes. There is no other option. Some people will say, "You should Terraform everything," but using the Okta Terraform Provider also means calling those same public Okta APIs, so it comes down to exactly the same thing. You always have to go through the public Okta APIs, which, quite reasonably, change on a regular basis.

In short, yes, you need to back up your production Okta tenant (at a minimum), but does that mean you should back up everything?


Why not back up everything?

Backing up an entire Okta tenant is usually neither relevant, nor necessary, nor even always possible (passwords, for example).

A few examples make that clear:

  • The architecture looks like this: an HRIS (or an AD, or anything-as-a-source) is the only master for creating, deleting, and updating users in Okta. If user data is lost, restoring those accounts is of limited value. It is far more useful to import the "lost" accounts again from the master source. Restoring existing accounts to an earlier version is usually impossible, because the profiles treat the HRIS (or AD) as their golden source and are therefore read-only in Okta. At best, you can restore only the values of attributes governed by Okta, not by the authoritative source. It can still be worth restoring certain account "dependencies," such as Okta group memberships or some enrollment data (covered later in this article).
  • A SAML federated application. The configuration includes technical elements (a metadata URL based on the Okta technical ID) that will inevitably be regenerated when the app is recreated. You can back up and restore the application and its configuration, but some technical values still have to be copied into the target application by hand. If you have, say, 300 applications and 200 application "owners," every one of those owners will have to make the change in their app. That is not viable if your internal RTO for Okta is a few hours or even a few days.
  • You have dozens or even hundreds of workflows. Okta provides no API to export or import workflows. You have to open the Workflows app and click the export button. Up to that point, things are still manageable: you can do it by hand, or even automate it from a service account. The problem appears when you want to restore those workflows. Because there is still no API, Okta creates new workflows instead of restoring the old ones (Okta cannot recognize pre-existing workflows), each with a new identifier. Every connection and every link to tables is lost. It is unrealistic to think you can automatically restore Okta workflows, as they stand, with a backup and restore product in "I press restore, I wait, and it works after a while" mode. You have to approach it differently.
  • User passwords (if you still use passwords): they are simply not available in Okta through the API. You cannot back them up, and you cannot restore them. So if several users are deleted from Okta by mistake, any restore of those users will necessarily create users with new identifiers in Okta, and then a password reset for those users.
  • Your users rely on several types of MFA, and their accounts are enrolled in the available MFA application or applications. If you delete those users by mistake, the restore will not bring back some of the associated enrollments (every factor tied to a device, or biometrics). So on top of reinitializing their accounts and resetting their password, they will have to enroll again after the restore.
  • We could keep going with many other examples, but the point is clear: Okta backup and restore is not a simple, immediate mechanism. It requires a thorough strategy for backup and restore, worked out in advance.

The starting point of a backup and restore initiative, too often skipped, is to define that strategy. Try to identify what could go catastrophically wrong in your Okta tenant, given the Okta architecture you chose (HRIS as a source, hub and spoke, multiple workflows, group rules, AD synchronization) and the implementation choices made by you and/or your preferred Okta integrator.

1. Technical limits specific to the Okta APIs

ObjectProblemImpact
UsersThousands of users with hashed passwords (not exportable).Passwords cannot be restored (Okta does not expose them).
Active sessionsSessions in progress cannot be backed up.Users will have to sign in again after a restore.
Tokens (JWT, and so on)Issued tokens are not saved.Every token is forcibly invalidated after a restore.
Logs and eventsHuge volume (potentially gigabytes or even terabytes per month for an active tenant).Storage cost and restore time become prohibitive.
Third-party integrationsSome apps (for example AD, Workday, SuccessFactors, Lucca) own the authority to create or delete accounts, attributes, and groups.A restore can break syncs or ID mappings. Above all, when those sources are authoritative, you cannot restore into Okta except through that same source.
SAML federationsThe private key generated by Okta cannot be exported through the API.Okta will have to regenerate it during the restore, and you will have to update it in the target application.
API rate limitsOkta limits API calls (for example, 10 requests per second for users).A full backup can take hours or days and can fail. Prefer regular differential backups, and run full backups much less often.

2. Functional limits

  • Complex dependencies: an application declared in Okta depends on:
    • Groups (assigned to it).
    • Access policies (which define the conditions for access).
    • Users (and their attributes).
    • Provisioning rules (sync with third-party apps). Restoring a single object can break its dependencies.
  • Dynamic data:
    • Passwords are never exportable (not even by Okta Support).
    • Secrets (for example API keys and certificates) are most often masked in exports.
    • Webhooks and workflows can hold temporary state, and workflow backup is not possible through the API.
  • Version conflicts: Okta updates its APIs and schemas regularly. An old backup may no longer be compatible with the current version of the tenant.

3. Security and compliance issues

  • Data sensitivity: backing up PII (personally identifiable information) such as email addresses, phone numbers, or custom attributes can violate the GDPR or other regulations. Backups therefore need encryption and strict access control.
  • Secret exposure: even when Okta masks some secrets in exports, API keys, client secrets (for OAuth), or certificates can still be included in configurations. A compromised backup becomes a data-leak risk.
  • Audit and traceability: Okta does not log who restored what. An unfortunate restore can "hide" critical logs (for example, who deleted a user).

A word of caution, without panic and without the wrong message: this is not an argument that Okta backup and restore is useless. On the contrary, it can be very useful. The point is to understand clearly what can be done and what cannot, and then design a backup and restore strategy that fits each context.

Let's focus now on the approaches that work.

It almost always comes down to a selective, targeted, and structured approach, which is far more effective, secure, and maintainable. The general idea is to back up a precise scope, differentially, based on object state changes detected mainly through Okta logs, and again, only within a scope you have defined clearly. With this more granular approach, rolling back, the famous UNDO (it is not a restore), can become an attractive option (not always), and that is in fact how more than 80% of mistakes can be repaired. Even so, that is not a restore. It is "replaying in reverse" every event that led to the mistakes.

In every case (restore or undo), the most important objects to back up (when that is possible) remain users and their attributes, user profiles or schemas, factors, enrollments, policies, groups, group rules, applications, workflows, and of course the associations between all of these objects.

Be careful, though: a broader restore (you only do a broad restore when you no longer trust the current state of your tenant) has to stay cautious, so the restore finishes in a timeframe that is reasonable and compatible with your operations (Okta API rate limits are always a limiting factor).

What should you actually back up? (Recommended strategy)

The approach that works in 80% of cases: a selective + differential + automated backup, so you restore only what disappeared. To do that, you have to understand what changed between two backups, and not settle for a series of backups with no link between them.

You therefore have to systematically identify exactly what happened in your tenant and caused the incident, before you restore anything. Comparing backups helps, but first you have to use the gold mine that Okta logs represent.

If, in the end, you do have to restore, here is the list of objects to back up with a restore in mind.

CategoryObjects to back upWhy?
Critical configurationAccess policies, MFA rules, trusted zones, security settings, factors and authenticators.These elements block or allow access to the entire tenant.
GroupsEvery Okta group (especially those used for application access).Groups are at the heart of authorization.
Group rulesEvery group rule.They define how group memberships are calculated automatically.
ApplicationsApp metadata (SAML/OIDC), group and user assignments.Deleting an app means hundreds of users lose access.
UsersLogin, email, name, groups, roles, custom attributes, and only when the source is Okta.Several users can be deleted at once, especially when updates are automated (workflows, group rules).
User schemasOkta lets you change user schemas, or create several user profiles.Without this information, restores will fail every time.
Roles and permissionsAdmin roles (for example Super Admin, Org Admin) and custom permissions.A poorly configured role can grant unauthorized access.
Custom profileIn Okta, users do not always share the same profile.This data is often tied to business workflows that manipulate it.
IntegrationsConnectors (for example AD, Workday) and attribute mappings. Be careful when sources are authoritative: you cannot restore.Less critical, but worth saving for a complete recovery.
BrandingLogo, colors, welcome emails, and so on.Less critical, but useful for incident recovery.

As you can see, Okta backup and restore is not a simple matter, and it is easy to be misled by arguments that move too fast. You have to accept that some backup and restore operations are simply not possible, or not desirable, in Okta. Of course you should test a product before you buy it, but first you need to think through your backup and restore strategy, which is tightly bound to the architecture and implementation you adopted. Starting from that strategy is how you identify the right product for you.


A few golden rules before any restore

  1. Understand what caused the incident, and if the scope is limited, prefer UNDO over restore:
    • Use your Okta logs to understand what happened.
    • Once the mistake is identified, prefer UNDO (roll back) over restore.
  2. Never restore to production without a test:
    • Test first in a staging tenant.
    • Use sandboxes to validate dependencies.
  3. Restore by object type (from those with the fewest dependencies to those with the most):
    • Step 1: critical configuration (policies, groups, apps).
    • Step 2: users, attributes, custom attributes, profiles.
    • Step 3: integrations, app assignments, group memberships.
  4. Check dependencies:
    • Example: if I restore an application, I make sure that:
      • The assigned groups exist.
      • The access policies are compatible.
      • Users have the right attributes.
  5. Document it:
    • Record who restored what, and when.

What to remember

Okta backup and restore goes through the Okta APIs, and not everything is possible through those APIs. It is rarely possible to press the "restore" button, wait (a little or a lot), and have the Okta tenant operational again. The reality is more complex, and you need to define a backup and restore strategy in order to identify the destructive actions that can actually happen given your Okta architecture and implementation. In 80% of cases, simply understanding what changed between your tenant (after the damage) and your backup lets you roll back (undo) without restoring large volumes of data (Okta rate limits are the limiting factor).

A few golden rules also apply:

  1. Follow the 3-2-1-1 rule
    • 3 backups
    • 2 different media (SQL and S3, for example)
    • 1 server that is different and outside the first site
    • 1 immutable backup (often S3)
  2. Do not back up everything:
    • Exclude: passwords, sessions, raw logs, tokens, and many other objects depending on how your tenant is configured.
    • Target: critical configuration (users, groups, group rules, apps, factors, resources, enrollments, and policies).
  3. Back up selectively and differentially:
    • Daily: groups, group rules, apps, resources, users (metadata), custom attributes, factors.
    • Monthly: integrations, branding, and so on.
  4. Secure the backups:
    • Encryption (KMS, PGP).
    • Restricted access (Okta and security admins only).
    • Versioning (so you can restore a specific version).
  5. Test restores:
    • Always test in a staging tenant before production.
  6. Document and trace