database-restore
Restores a previously exported database [captive-portal and/or
NSight]. Previously exported databases (backed up to a specified FTP or SFTP server) are
restored from the backed-up location to the original database.

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-restore database [captive-portal|nsight] <URL>
Parameters
database-restore database [captive-portal|nsight] <URL>
database-restore database [captive-portal|
nsight] |
Restores previously exported (backed up) captive-portal
and/or NSight database. Specify the database type:
- captive-portal – Restores captive portal database
- nsight – Restores NSight database
After specifying the database type, configure the destination location and
file name from where the files are restored.
|
<URL> |
Configures the destination location. The database is
restored from 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/file.tar.gz
|
|
Examples
nx9500-6C874D#database-restore database nsight ftp://anonymous:anonymous@192.168.13.10/backups/nsight/nsight.tar.gz
Related Commands
database |
Enables automatic repairing (vacuuming) and dropping of
databases (captive-portal and NSight) |
database-backup |
Backs up captive-portal and/or NSight database to a
specified location and file on an FTP or SFTP server |
|