The system restore functions are used for restoring backup files.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy80MTcwMy81NDk1Mi9ja2ZpbmRlci9pbWFnZXMvcXUvMjAyNi9pbWFnZSgzMikucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzc5NzU0MTc4fX19XX0_&Signature=PdypN8qOZYewbgPZ~H6sn9oOYLBceHK9O0-Ad9mdH0066ZKpCmGJw0HeNDTeq-75D6g1-NAj3UV-oEqHbZQajg7cznfFUJfv3DmzIbkRzA8jOXhJHDr0Ms~705IdpT4qn0NlLtIQyt8Q0b-FC2ccJJ2Grg3Ut~ympFlqYPQs6mz7ipjWowQXB9Y7FAMGL-GTiDrHCR77eED24da7oESMJ8B9WXHD61dkBNU2WX79zif3sxyEEV3plJRmujtQUkTs8y7mIF8iAMeOnswOa9gm7QRWKfvYtku2cbZIvpe7T5Lsn6ldM-07IuQp1EB2rwv6-3fXSsIXhDc8QskiSrR1wA__&Key-Pair-Id=K2TK3EG287XSFC)
The system restore functions are a set of actions. There are no supported attributes or statuses related to system reset.
System Restore Attributes
| Action | Value | Comment |
|---|---|---|
| Restore-run | Restore a database to the OLT. The existing database will be destructively overwritten. | |
| Input | System Actions input parameter | |
| 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. db - Restore just the database without other OS files. os-auth - Restore just the user database to the OLT. |
| Source | <string> | When remote restore is utilized, this is used to specify the URL to use for retrieval of the restore file. When local restore is being performed can be used to specify a path if it a path other than the default is needed. |
| username | <string> | The username to use when restoring from a remote location |
| Output: result | <string> | Result of the reboot action. |
Locating the username to use when restoring from a remote location.
MDS1-ESUA# tolt restore list-local-files <enter> result backup-4-10-26.tqz result test1.xml action-success true MDS1-ESUA# _ |
MDS1-ESUA# tolt restore run filename backup-4-10-26.tqz <enter>
Value for 'confirm' [YES]: YES <enter>
reason Restore completed successfully from backup-4-10-26.tgz
action-success true
MDS1-ESUA# _
|