Using CLI to backup and restore Session Manager

Last Updated : Jan 09, 2023 |
Prolog information
Use the procedure below to create and restore encrypted or non-encrypted Session Manager backup files using CLI commands.
  1. To back up Session Manager from the CLI interface, do one of the following steps:
    1. To create a non-encrypted Session Manager backup, run the following command:
      ADDITIONAL INFORMATION:
      # backupSM
      STEP RESULT:
      This command creates a backup file called Session_Manager_backup.tgz and places it in the home directory of the system.
    2. To create an encrypted Session Manager backup, run the following command:
      ADDITIONAL INFORMATION:
      # backupSM -e
      Note:
      Make a note of the passphrase used while creating the backup.
      STEP RESULT:
      This command creates a backup file called Session_Manager_backup.zip and places it in the home directory of the system.
  2. Run the following command to restore Session Manager:
    ADDITIONAL INFORMATION:
    # restoreSM <path to backup file>
    Note:
    • The restoreSM command requires the path to the backup file created in the previous step.
    • To restore encrypted backup enter the passphrase used during backup.