Restoring UI configuration data (on-prem)
Agile Service Manager includes a backup facility, which lets you backup UI configuration settings such as user preferences, topology tools, custom icons, relationship types, rules and advanced topology settings. This topic describes how to import previously exported (backed up) settings in order to restore your previous configurations.
Before you begin
You can only import and restore configuration settings that have been previously exported, as described in the Backing up UI configuration data (on-prem) topic
The tool detects the host, port, and tenant id for the Topology
Service from the following environment variables:
- TOPOLOGY_SERVICE_HOST
- TOPOLOGY_SERVICE_PORT
- TENANT_ID
Important: If you have a standard installation of Agile Service Manager core, and
none of the default settings have been changed, the tool will work without you having to reset any
of these environment variables. However, if you do have a non-standard installation, you need to
reset these before running the
tool.
About this task
- Import syntax
- This command must be run from the ASM_HOME
directory:
import_ui_config.sh
- Import parameters
-
- file
- The
-fileparameter is the name of the backup file from which to import definitions. It must be a file name only with no directory paths included, and it must exist in the tools data directory ($ASM_HOME/data/tools). - overwrite
- By default, as the import tool reads the backup file it looks up each item in the topology service to see if it already exists. Any configuration definitions which already exist are not updated.
- verbose
- The
-verboseflag runs the tool in verbose mode, whereby extra log messages are printed to the shell during execution.
Restriction:
- Jobs are not imported into systems where the observer has not been installed.
- Jobs are not imported into systems where the observer job already exists (that is, where a job with the same name exists for the same observer).
- Jobs are imported but cannot run if the encryption key on both source and target system don't match. See the following topic for more information on Changing encryption keys and passwords.
Procedure
Results
-overwrite flag has been
set, existing configuration data will be overwritten.