database

Profile Config Commands

Backs up captive-portal and/or NSight database to a specified location and file. When applied to devices, this profile will enable the back up of the specified database. This command also enables you to configures a low-disk-space threshold value.

These parameters can also be configured in the device configuration context of the NX9500, NX9600 series service platforms.

Supported in the following platforms:

Syntax

database [backup|low-disk-space-threshold]
database backup database [captive-portal|nsight] <URL>
database low-disk-space-threshold <10-50>

Parameters

database backup database [captive-portal|nsight] <URL>
database backup database [captive-portal| nsight] Backs up captive portal and/or NSight database to a specified location and file. Select the database to backup.
  • database – Selects the database to backup
    • captive-portal – Backs up captive portal database
    • nsight – Backs up NSight database

After specifying the database type, configure the destination location and file name.

<URL> Configures the destination location. The database is backed up at the specified location. Specify the location URL in one of the following formats:

ftp://<user>:<passwd>@<hostname|IP>[:port]/path/file.tar.gz

sftp://<user>:<passwd>@<hostname|IP>[:port]/path/file.tar.gz

tftp://<hostname|IP>[:port]/path

database low-disk-space-threshold <10-50>
database low-disk-space-threshold <10-50> Configures the low disk space threshold for syslog warning. Once the threshold value configured here is reached a syslog warning is sent.
  • <10-50> – Specify the threshold from 10 - 50. The default is 30.

Example

nx9500-6C8809(config-profile-testNX9500)#database backup database nsight ftp://anonymous:anonymous@192.168.13.10/backups/nsight/nsight.tar.gz

Related Commands

no Removes database backup configurations