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.
Configure the NFS Target
To configure the NFS target for your appliance configuration and events database backup:
- Access the appliance console using ssh.
- Log in to the appliance using the
nsadmin/nsappliancecredentials. An nsshell opens. - Enter
configureto enter the nsshell configure mode. - 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
- 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 - Enter
show management-plane backupto check your work. - Enter
saveto activate your changes. - Enter
exitto leave the configure mode. - Enter
exitto leave the nsshell and exit the appliance console.
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.
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

