Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Run the command prompt as administrator.
  2. Go to the utility directory by running the command:
    Code Block
    languageshell
    cd <Axxon One installation directory>\AxxonOne\bin

  3. Run the command to create a backup:
    Code Block
    languageshell
    ngpsh.exe backup backupJson [path_to_backup_folder] [node_name] [local] [shared] [license] [tickets]
    Parameters of the backupJson command:
    ParameterRequiredDescription
    path_to_backup_folderYesThe path to the folder where the backup is saved. Use double backslashes (\\) in the path
    node_nameYesThe name of the server whose configuration you want to save
    localNoThis parameter saves the local configuration of the server (objects, their parameters, connections, and change history)
    sharedNoThis parameter saves the general configuration of the domain (users, layouts, and so on)
    licenseNoThis parameter saves the license
    ticketsNoThis parameter saves the structure of the domain
    Example of a command:
    Code Block
    languageshell
    ngpsh.exe backup backupJson c:\\backups Server1 local
    Result:
    A file named Server1.json is created in the c:\backups folder, containing the backup copy.

...

  1. Run the command prompt as administrator.
  2. Go to the utility directory by running the command:
    Code Block
    languageshell
    cd <Axxon One installation directory>\AxxonOne\bin

  3. Run the command to restore a backup:
    Code Block
    languageshell
    ngpsh.exe backup restoreJson [path_to_backup_file] [node_name] [local] [shared] [license] [tickets] [deleteLocal] [deleteShared]
    Parameters of the restoreJson command:
    ParameterRequiredDescription
    path_to_backup_fileYesThe full path to the backup file (in JSON format). Use double backslashes (\\) in the path
    node_nameYesThe name of the server whose configuration you want to restore
    localNoThis parameter restores the local configuration of the server
    sharedNoThis parameter restores the general configuration of the domain
    licenseNoThis parameter restores the license
    ticketsNoThis parameter restores the structure of the domain
    deleteLocalNoThis parameter removes objects from the current local configuration that are not present in the backup (clean up before restoration)
    deleteSharedNoThis parameter removes objects from the current general configuration that are not present in the backup
    Example of a command:
    Code Block
    languageshell
    ngpsh.exe backup restoreJson c:\\backups\Server1.json local
    Result:
    The local configuration of Server1 is restored from the Server1.json file. Objects not present in the backup are removed from the current configuration.