Restore Okta Users
Who can use this feature
Anyone with these permissions: Restore users
When a user is deleted or deactivated by mistake, restoring from a snapshot brings the user back with the profile it had when the snapshot was taken, so nobody has to rebuild the user by hand.
This article explains how to restore deleted or deactivated users to an Okta org from the Eon console, and how to read the restore report that the job produces.
Restore users
You can browse a snapshot of your Okta org and start a restore from the SaaS inventory.
Before you start
Before you restore users, make sure:
-
An Okta restore org is connected for the Okta org the snapshot came from.
-
The Okta org has at least one completed backup.
Select the snapshot to restore from
-
In your SaaS inventory, click View Entities on the card of the Okta org.
-
To restore from an earlier snapshot, choose it with the snapshot selector. The page opens on the newest completed snapshot.
Select the users to restore
-
Open Users under Directory, and select the checkbox of each user you want back. To find a user, search by name or login. To check a user before you select it, click its name. Overview shows the profile, and Related objects lists the groups and apps the user is linked to.
-
Select more users on other pages, or select groups and apps in the same snapshot. Your selection stays as you move between pages and object types, and it clears when you choose a different snapshot. The selection bar shows the count, such as 3 selected, with Clear selection and Restore.
Restoring a user alone does not re-add it to its groups or apps. Select the group or app too, because Eon re-links from the selected group or app.
Start the restore
Click Restore. The Restore to Okta wizard opens, with the steps Restore Account and Review.
Choose the restore account
On the Restore Account step, choose the Okta restore account for the Okta org. Restore accounts for a different Okta org are unavailable, and Eon selects the restore account for you when only one matches.
When no restore account is connected for the Okta org, the step shows a message that names Settings → Restore connections.
Click Next.
Review and start the restore
-
On the Review step, check the restore account and the selected objects. The step lists the objects by type and shows the first 10 names for each type, followed by the count of the remaining names, such as +7 more.
-
Read the note Restore account considerations. The note says that restored users receive an activation email, and that application secrets aren’t exported and must be entered again in Okta.
-
Click Restore. Eon confirms with a message such as “Restore started for 3 selected entities”, and starts a restore job.
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 by clicking View job in the confirmation message, or from the Restore jobs tab on the Jobs page.
-
Open the Restore report. It shows the count of each outcome, and a table with the columns Name, Entity, Type, Outcome, Restored ID, and Details. Entity shows the user’s ID in the snapshot.
-
Check the outcome of each user:
-
RECREATED: The user was gone, and Eon created it again from the snapshot. Restored ID shows the new ID. -
REVERTED: The user still existed, and Eon set its profile back to the snapshot. -
REACTIVATED: The user was deactivated, and Eon reactivated it before setting its profile back to the snapshot. -
SKIPPED_UNCHANGED: The user already matched the snapshot, and Eon wrote nothing. -
FAILED: Eon couldn’t restore the user, and Details gives the reason.
-
-
Check the job status. The job is Complete when every selected object succeeds, Partially complete when some fail, and Failed when all fail.
What a restore does to each user
A restore handles each selected user according to its state in the Okta org:
-
If the user’s ID still exists: Eon sets the profile back to the snapshot.
-
If the user is deactivated: Eon reactivates the user first and sends an activation email, and then sets the profile back to the snapshot. Eon doesn’t restore passwords.
-
If the user was deleted: Eon creates the user again with the snapshot profile, a new ID, and an activation email. The user gets its snapshot user type when the Okta org still has that type, and the default user type otherwise. Details notes when the user got the default user type instead.
-
If the user was deleted and another user holds its login: The restore fails for the user and doesn’t overwrite the other user. Details says to delete or rename the other user, and then restore again.
For new IDs and repeat restores, see Restore behavior. For every outcome that a restore can report, see Outcomes and job statuses.