Go to documentation repository
Page History
You can use the ngpsh.exe utility and json commands to back up and restore your system configuration.
| Note | ||
|---|---|---|
| ||
These configuration backups are incompatible with those created with the Backup and Configuration Recovery utility, and vice versa. |
To create a configuration backup:
- Use Windows command line to access the <Axxon One installation directory>\Axxon One\bin folder.
Execute the following command:
No Format ngpsh.exe backup backupJson [path_to_backup_folder] [node_name] [local] [shared] [license] [tickets]
Where
Parameter | Description |
| path_to_backup_folder | Required parameter. Specify a folder to save the configuration backup to. You have to use two "\" characters in the path. |
| node_name | Required parameter. Name of a Server whose configuration you want to save. |
| local | Add it, if you need to save the local configuration for this Server: all created objects along with their parameters, links and changes' histories. |
| shared | Add it, if you need to save the global configuration for an Axxon domain: users, layouts, etc. |
| license | Add it, if you need to save a license. |
| tickets | Add it, if you need to save the Axxon domain structure. |
An example:
| No Format |
|---|
ngpsh.exe backup backupJson c:\\backups Server1 local |
To restore a configuration from a backup:
| No Format |
|---|
ngpsh.exe backup restoreJson [path_to_backup_file] [node_name] [local] [shared] [license] [tickets] [deleteLocal] [deleteShared] |
Where
| Parameter | Description |
| deleteLocal | Add it, if you need to clear the local configuration from objects not present in the backup copy. |
| deleteShared | Add it, if you need to clear the global configuration from objects not present in the backup copy. |
An example:
| No Format |
|---|
ngpsh.exe backup restoreJson c:\\backups\Server1.json local |