Netskope Help

Back Up the Management Plane Appliance Configuration and Events

There are two parts to backing up your management plane appliance configuration and events database. Configure the target location on the NFS share and then create a backup of the configuration and the events database.

1. Configure the NFS Target

To configure the NFS target for your appliance configuration and events database backup:

  1. Access the appliance console using ssh.

  2. Log in to the appliance using the nsadmin/nsappliance credentials. An nsshell opens.

  3. Enter configure to enter the nsshell configure mode.

  4. Enter the following commands.

    set management-plane events-backup nfs-server enable true
    set management-plane events-backup nfs-server host <IP address or name of your NFS server>
    set management-plane events-backup nfs-server mount-options <Comma separated list of NFS mount options>
    set management-plane events-backup nfs-server remote-mountpoint <Absolute path of the NFS shared directory>
    set management-plane events-backup nfs-server subdirectory <Absolute path of the subdirectory within the NFS shared directory>
    save
    
  5. You can schedule backups daily, weekly, or monthly. Run the following commands.

    mp1(config)# set management-plane events-backup schedule
    
        daily   Daily backup
    
      monthly   Monthly backup
    
       weekly   Weekly backup
    
    mp1(config)# set management-plane events-backup schedule monthly
    
       at   Schedule time as UTC HH:MM
    
      day   Number of the day of the month to do the backup (1-31)
    
    mp1(config)# set management-plane events-backup schedule weekly
    
       at   Schedule time as UTC HH:MM
    
      day   Number of the day of the week to do the backup (0-6=Sun-Sat)
    
    mp1(config)# set management-plane events-backup schedule daily at 12:00
  6. Enter show management-plane backup to check your work.

  7. Enter save to activate your changes.

  8. Enter exit to leave the configure mode.

  9. Enter exit to leave the nsshell and exit the appliance console.

2a. Create a backup of the configuration

You can back up your management plane appliance configuration using one of the following two methods.

  • Save the config file locally on the appliance. Run the following command.

    export config to file <name of the file to be exported at /home/nstransfer/misc>
  • Export the configuration to an SCP target using the instructions in the Export or import configurations section.

2b. Create a backup of the events database

To back up the events database on your management plane appliance, access the system console, and then enter the following command:

management-plane backup