database-backup

Backs up captive portal and/or NSight database to a specified location and file on an FTP, SFTP, or TFTP server. Execute this command on the database host.
Note

Note

This command and its syntax is common to both the User Executable and Privilege Executable configuration modes.

Supported in the following platforms

  • Service Platforms — NX9500, NX9600, VX9000

Syntax

database-backup database [captive-portal|nsight|nsight-placement-info] <URL>
database-backup database [captive-portal|nsight] <URL>
database-backup database nsight-placement-info <URL>

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. Select 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.
<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

database-backup database nsight-placement-info <URL>
database-backup database nsight-placement-info <URL> Backs up the NSight access point placement related details to a specified location
  • <URL> – Specify the 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/file.tar.gz

Examples

NS-DB-nx9510-6C87EF>database-backup database nsight tftp://192.168.9.50/testbckup
NS-DB-nx9510-6C87EF>show database backup-status
Last Database Backup Status : In_Progress(Starting tftp transfer.)
Last Database Backup Time   : 2018-01-01 12:48:05
NS-DB-nx9510-6C87EF>show database backup-status
Last Database Backup Status : Successful
Last Database Backup Time   : Mon Jan 01 12:48:08 IST 2018
NS-DB-nx9510-6C87EF>

Related Commands

database Enables automatic repairing (vacuuming) and dropping of databases (captive-portal and/or NSight)
database-restore Restores a previously exported (backed up) database (captive-portal and/or NSight)]