Factory Reset¶
A Factory Reset returns JIM to the state of a fresh installation: every Connected System, Synchronisation Rule, Metaverse Object and Activity goes, and the built-in configuration comes back as it shipped. Use it to clear a test or demonstration system, such as one filled with Example Data, or to hand a system over clean. It cannot be undone, so never run it on a system you depend on without a backup.
What is removed and what survives¶
| Removed | Survives |
|---|---|
| Every Connected System, its Connector Space and its Pending Exports | The database schema |
| Every Synchronisation Rule, Run Profile and Schedule | The built-in Metaverse Object Types and attributes, Roles, Connectors, Predefined Searches, Example Data Sets and Example Data Template, and the built-in Schedules, all restored as shipped |
| Every Metaverse Object, and all change history | Service Settings |
| Every Activity and queued Worker Task | The infrastructure API key |
| Custom Object Types, attributes, Roles, Predefined Searches and Example Data | Administrators, unless you choose to remove them |
| Every other API key, and every trusted certificate | The encryption keys, which are files, not database rows |
A few details:
- Administrators who survive keep their accounts and Roles, but lose any value that pointed at removed data (custom attributes, references and where each value came from).
- If the Service Setting that maps a sign-in to a person names a custom attribute, it is cleared; set it again before anyone else signs in.
- Files in the Connector files directory (
/connector-files) are not touched.
The whole wipe is a single database transaction: if any part of it fails, nothing is removed.
Before you begin¶
- Take a backup of the database and the encryption keys, together; see Backup & Disaster Recovery. It is the only way to undo a reset.
- Let running work finish. JIM refuses to reset while any Activity is in progress, and says how many; wait for them, or cancel them from Operations, and try again.
- Know how you will sign back in if you will remove administrators (step 3).
Reset JIM¶
- Open Administration, select Danger Zone at the foot of the page to reveal it, then select Factory Reset.
- Read the lists of what is removed and preserved.
-
To remove administrators as well, tick Also delete administrator users.
You can lock yourself out
With administrators removed, only two ways back in remain. One is the initial administrator (
JIM_SSO_INITIAL_ADMIN), recreated when that person next signs in through single sign-on, which works only if it is configured; see SSO / Authentication. The other is the infrastructure API key, which works for 24 hours, and which restarting JIM renews once it has expired, providedJIM_INFRASTRUCTURE_API_KEYis still set. With neither, nobody can administer JIM. Everything else survives as the table above lists.Then tick I understand the administrator lockout risk and want to proceed.
-
Type
RESETin Type RESET to confirm, in capitals, and select Factory Reset. - Read the confirmation, which says whether administrators will be removed, and select Wipe everything.
JIM wipes the data, restores the built-in configuration and signs everyone out, you included.
From a script, Reset-JIMSystem does the same; see System. It asks for confirmation unless given -Force, and removes administrators only with -IncludeAdministrators. The REST API runs it from POST /api/v1/system/reset.
Check it worked¶
- Sign in again. With administrators kept, your account works as before.
- The Activity list holds a single Factory reset Activity, naming who ran it and how much it removed.
- Administration shows no Connected Systems, and the Metaverse holds no objects other than surviving administrators.
Related¶
- Backup & Disaster Recovery: the backup that makes a reset recoverable
- Example Data: the generated objects only a reset removes
- Configuration Reference: the settings a reset keeps