.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy80MTcwMy81NDk1Mi9ja2ZpbmRlci9pbWFnZXMvcXUvMjAyNi9pbWFnZSgyNSkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzc5NzU0MjI1fX19XX0_&Signature=XzEUTimIdRoQ74F~uaFc852s~cKDyYzOMra6YwX16wMpDxcDaXHvoXn3ZRMbHMoI9v6~Czu96aYUBWM0jRs0RWIluVCNVzDM4xZJOLZBjsbdyk3Nb8j-97Zi~WsSSDMd3ob6bjVzv0UPmRQg~u-zregDzNumyQSdo9vOXqfWJ10RJN6n5wIcHng-wVRhNvHgx-KKBT4AfTgcgUG-edHuq4o0gmn3af6C0~VSA9VFZs4AVyIRJUSPYGv7EPHbUuDlgeBCsD8BgoHhU~qd1b2egYzH~2DQ9tl0AWu2y8~Xezqgly0CzyCEHf1HgC~05XABjCFz5cSqXEWw5jUYz0VJDQ__&Key-Pair-Id=K2TK3EG287XSFC)
System Backup Attributes
|
Action |
Value |
Comment |
|
Restore Run |
|
Restore a database to the OLT. The existing database will be destructively overwritten. |
|
Inputs |
|
Action Input Parameters |
|
Confirm |
Yes | No |
Due to its destructive nature, the user is required to confirm that the restore should be performed. |
|
Filename |
<string> |
The name of the file to be restored. It is assumed to be in /usr/bob/sftp/restore. The path can be explicitly stated if desired or just the filename and the path will be added automatically. |
|
Mode |
replace |
Replace is the only allowed option. |
|
Password |
<string> |
The password to use when authenticating to a remote destination to retrieve a restore file to be restored to the OLT. |
|
Scope |
all | db | os-auth |
all - Restore all olt information including db, and auth. |
|
Source |
<string> | When remote restore is utilized, it is used to specify the URL to use for retrieval of the restore file. When a local restore is being performed, it can be used to specify a path if a path other than the default is needed. |
|
Username |
<string> | The username to use to authenticate when pulling the restore file from a remote location. |
| Output | <string> | Result of the reboot action. |
The following example will demonstrate a restore from the local sftp directory on the OLT.
MDS1-ESUA# tolt system restore list-local-files <enter>
result backup-4-10-26.tgz
result test1.xml
action-success true
MDS1-ESUA# _
|
The following example will demonstrate a restore from the local sftp directory on the OLT.
MDS1-ESUA# tolt system restore run filename backup-4-10-26.tgz <enter> Value for 'confirm' [YES]: YES <enter> reason Restore completed successfully from backup-4-10-26.tgz action-success true MDS1-ESUA# _ |