System OLT Backup
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy80MTcwMy81NDk1Mi9ja2ZpbmRlci9pbWFnZXMvcXUvMjAyNS9pbWFnZSgyMzEpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTQ3NTQwOX19fV19&Signature=ZQEu3UQGlfSf5z0CKQg2r~n9sDxz8XS-lYTMwZ-4yi5DCnR1Y15olOzMm6aD4DGZFB61NOCZpkLCdbec~YJYUAeJWR2JwIKFhnPC2IcsLP2AzOsLlMozmy0hLUJfxwt9d9v4Fz0LWx6yHOSt-m~D2QmJRES1AtJMwRMNEMgs9nxMB1lDtnVSgRrtGfrPRmva8BJi4NAXB5lDd-qIG4z2BHWldC6Rja6XU5zG6OkD3cTMKmTYwO2d0KSh-HDgWedvK7Dss9b24JvAxHW6G71bpFFioo6cqJlOhTKLi9X6S5IHTOaFuCpd9m3KT-1C0-Cx9apcZvgZG8bgwLlwutZv0g__&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#_
|