Restore Okta Configuration
Who can use this feature
Anyone with these permissions: Restore users
A deleted policy, an edited network zone, or a removed group rule changes how people get access in Okta, and rebuilding each one by hand means recreating every reference it holds. Restoring from a snapshot brings these objects back as they were backed up, with their references to groups, users, zones, and user types pointed at the objects that exist in your Okta org.
This article explains how to restore group rules, user types, policies, policy rules, and network zones from a snapshot in the Eon console, and how to read the restore report that the job produces.
Restore configuration objects
You can browse a snapshot of your Okta org and start a restore from the SaaS inventory.
Before you start
Before you restore configuration objects, make sure:
-
A restore org is connected for the Okta org the snapshot was backed up from, and its Okta app holds the manage scope for each type of object you restore. To connect a restore org and grant the scopes, see Okta: Connect Restore Orgs. Each type of object needs its own scope:
-
Group rules:
okta.groups.manage, which every restore org already has. -
Network zones:
okta.networkZones.manage. -
User types:
okta.userTypes.manage. -
Policies and policy rules:
okta.policies.manage.
Without a scope, the objects that need it fail to restore, and the rest of your selection restores. The restore report says which scope to grant on the app’s Okta API Scopes tab.
-
-
The Okta app of the restore org has the Super Administrator role. Restoring an app sign-in policy, a profile enrollment policy, or the priority of any policy needs that role.
Select the snapshot to restore from
-
In your SaaS inventory, click View Entities on the Okta org you want to restore.
-
Select the snapshot you want to restore from.
The page lists the objects that the snapshot holds.
Select the objects to restore
-
In the tree, open Group rules, User types, Policies, Policy rules, or Network zones. To find an object, search the list by name.
-
Select the checkbox next to each object you want back. Your selection can span several types and pages, and it clears when you switch to a different snapshot.
-
Select any object that a selected object refers to, when that object is no longer in the Okta org, such as a network zone that a policy rule names or a group that a group rule targets. When you skip a missing object, the restore fails for the object that refers to it, and the Details column of the restore report names the missing object. To recover, select the missing object too and restore again.
Choose the restore org
-
Click Restore in the selection bar. The Restore to Okta wizard opens.
-
In the Restore Account step, select the restore org. Only a restore org connected for the Okta org the snapshot came from is available, and Eon selects it for you when there’s only one. When your selection needs a scope that the Okta app of the restore org lacks, the step names the scopes to grant, and you can still continue.
-
Click Next.
Start the restore job
Check the selected objects, which the Review step groups by type, then click Restore. Eon starts a restore job and confirms it with a message.
When an action approval rule covers restores, Eon submits the restore for approval instead of starting a job.
Read the restore report
-
Open the job from View job in the confirmation message, or from the Restore jobs tab on the Jobs page.
-
In the Restore report section, check the outcome counts, and then read the table. Outcome shows what the restore did to each object, and Details gives the reason for each object that failed. The Name of a policy rule starts with the name of its policy.
The job reports one outcome for each object you selected. Its status is Complete when every object succeeds, Partially complete when some objects fail, and Failed when every object fails.
Eon restores configuration objects as follows:
-
References: Eon rewrites the references between objects to the live IDs. An object that references a missing object fails to restore, and Eon never drops the reference.
-
Policies: A selected policy brings the rules the snapshot holds under it. Eon deactivates, but doesn’t delete, rules added to the policy since the backup.
-
Built-in objects: Eon updates built-in objects in place and never recreates them. Built-in objects are system policies, the default user type, and system network zones.
-
Group rules: To write a group rule that’s active, Eon deactivates it, writes the snapshot version, and activates it again.
-
User types: Restored user types come back with name, display name and description only. Custom schema attributes are lost.
For how a restore treats unselected objects, how recreated objects get new IDs, name collisions, and running a restore again, see Restore behavior.