System OLT Backup
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy80MTcwMy81NDk1Mi9ja2ZpbmRlci9pbWFnZXMvcXUvMjAyNS9pbWFnZSgyMzEpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc3Mjk3NTY3MX19fV19&Signature=pILQP6flu8cfIE76md6ByyPqKbRaDn~703Wn8xCIMG~xZSy6iPtWWEv2slSlu5QsMmxOnfrNA5xRwvKVW~3ObiFsMLLxCwED2ec0QWmE88k63vTe3CXa0jyvXXlHYiJxjkpfnnYI3kE8myhVgJl25sAjGoelhurWQEiW8B2cqDlNxTcVI1GvS2SZit4lWs7dEKB7~itMv1vErifoMFJ-YYpHfgqJ3P~AxX-R4aQZN5egNGXc2YZp8K9CJimonB0torCUBXsVzl0AVjaNv8new6lRjc9OUJRKBKv9Wb0zhCABkDP6pNZ3ZRuoFSuhTqK87CC5eUFKY~lLJOsMp1dnIA__&Key-Pair-Id=K2TK3EG287XSFC)
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. |
|
Destination |
<string> |
The path on the target for the backup file, if local, the default path is: 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. |
- Command Path – tolt>system >backup>create>
- Module – tolt
- Container – system
- Container – backup
- Action – create
- Container – input
- Types –
- Filename – The filename on the target to name the backup.
- string
- filename.cli – Output backup in the CLI format.
filename.xml – Output backup in XML format.
filename.json – Output backup of JSON format.
Default format if not specified is cli.
- filename.cli – Output backup in the CLI format.
- string
- *Destination – The path on the target for the backup file, .
- string
- default path is: /usr/bob/sftp/backups
- User can specify remote destinations using any destination mime URL that will work with the curl utility.
- string
- Username – The username to use when doing remote backups to an sftp or http destination.
- String
- Password – The password to use when doing a remote backup to an sftp or http destination.
- String
- Filename – The filename on the target to name the backup.
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.
- Command Path – tolt>system >backup>create>
- Module – tolt
- Container – system
- Container – backup
- Action – create
- Types – Example Parameters
- filename backup-10-31-example.cli
Local Backup
- 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.
- 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:
- 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
- Command Path – tolt>system>backup>
- Module – tolt
- Container – system
- Container – backup
- Command – delete
- 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#_
|