System OLT Backup

 

System Backup Attributes 

Action

Value

Comment

Backup

 

Backup actions

Create

 

Action to create a backup file.  Can be created locally or on a remote file server that is accessible via ftp, or http.

Input

 

Container

Filename

<string>

The filename on the target to name the backup.
The extension name is very important as it determines the format. 
Default format if not specified is cli.
filename.cli – Output backup in the CLI format.
filename.xml – Output backup in XML format.
filename.json – Output backup of JSON format.

Destination

<string>

The path on the target for the backup file, if local, the default path is:
/usr/bob/sftp/backups
You can specify remote destinations using any destination mime URL that will work with the curl utility.
Examples:

sftp://172.28.152.65/home/ztp/ username ztp password ztp

http://172.28.6.166:8095/backup

Username

<string>

The username to use when doing remote backups to an sftp or http destination.

Password

<string>

The password to use when doing a remote backup to an sftp or http destination.

 

Tolt System Backup Create

The following example will demonstrate a backup to a local sftp directory.  Users with access to this directory can pull the file from the OLT.  This example creates a cli format which is similar to most switches.

Local Backup

  1. Go to the MDS1-ESUA# command line, input tolt system backup create backup-10-31-example.cli, and press Enter. Output similar to the following is displayed.
 
MDS1-ESUA# tolt system backup create filename backup-10-31-example.cli <enter>
reason backup-10-31-example.cli saved to local directory - /usr/bob/sftp/backups
action-success true
MDS1-ESUA# _ 

 

SFTP Backup

The following example shows how to perform a backup to an sftp server, admin connected from 127.0.0.1 using console on MDS1-ESUA.

  1. Go to the MDS1-ESUA# command line, input tolt system backup create filename olt config-11-4.cli destination sftp://172.28.152.65/home/ztp/ username ztp password ztp and press Enter. Output similar to the following is displayed.
     
    MDS1-ESUA# tolt system backup create filename olt config-11-4.cli destination 
    sftp://172.28.152.65/home/ztp/ username ztp password ztp <enter>
    reason Backup uploaded sucessufelly to sftp://172.28.152.65/home/ztp/olt_config-11-4.cli
    action-success true
    MDS1-ESUA# _ 
    

HTTP Backup

The following example performs an http backup to the EMS:

  1. Go to the MDS1-ESUA# command line, input tolt system backup create filename olt config-11-4.cli destination http://172.28.6.166:8095/backup username tellabs password tellabs and press Enter. Output similar to the following is displayed.
     
    MDS1-ESUA# tolt system backup create filename olt config-11-4.cli destination 
    http://172.28.6.166:8095/backup username tellabs password tellabs <enter>
    reason Backup uploaded sucessufelly to http://172.28.6.166:8095/backup
    action-success true
    MDS1-ESUA# _ 
    

 

Delete Backup

 

  1. From the MDS1-ESUA# command line, input tolt system backup delete filename backup-10-31-example.cli, and press Enter. Outputs similar to the following are displayed:
MDS1-ESUA# tolt system backup delete filename backup-10-31-example.cli <enter>
reason Backup: Deleted backup-10-31-example.cli
action-success true
MDS1-ESUA#_