...
- Run the command prompt as administrator.
- Go to the utility directory by running the command:
Code Block language shell cd <Axxon One installation directory>\AxxonOne\bin
- Run the command to create a backup:
Parameters of the backupJson command:Code Block language shell ngpsh.exe backup backupJson [path_to_backup_folder] [node_name] [local] [shared] [license] [tickets]
Example of a command:Parameter Required Description path_to_backup_folder Yes The path to the folder where the backup is saved. Use double backslashes (\\) in the path node_name Yes The name of the server whose configuration you want to save local No This parameter saves the local configuration of the server (objects, their parameters, connections, and change history) shared No This parameter saves the general configuration of the domain (users, layouts, and so on) license No This parameter saves the license tickets No This parameter saves the structure of the domain
Result:Code Block language shell ngpsh.exe backup backupJson c:\\backups Server1 local
A file named Server1.json is created in the c:\backups folder, containing the backup copy.
...
- Run the command prompt as administrator.
- Go to the utility directory by running the command:
Code Block language shell cd <Axxon One installation directory>\AxxonOne\bin
- Run the command to restore a backup:
Parameters of the restoreJson command:Code Block language shell ngpsh.exe backup restoreJson [path_to_backup_file] [node_name] [local] [shared] [license] [tickets] [deleteLocal] [deleteShared]
Example of a command:Parameter Required Description path_to_backup_file Yes The full path to the backup file (in JSON format). Use double backslashes (\\) in the path node_name Yes The name of the server whose configuration you want to restore local No This parameter restores the local configuration of the server shared No This parameter restores the general configuration of the domain license No This parameter restores the license tickets No This parameter restores the structure of the domain deleteLocal No This parameter removes objects from the current local configuration that are not present in the backup (clean up before restoration) deleteShared No This parameter removes objects from the current general configuration that are not present in the backup
Result:Code Block language shell ngpsh.exe backup restoreJson c:\\backups\Server1.json local
The local configuration of Server1 is restored from the Server1.json file. Objects not present in the backup are removed from the current configuration.