lira_restore_backup
Restore a model file from a chosen or default newest backup, saving the current file first and reopening the model; unsaved changes must be discarded or absent.
Instructions
Put a backup (path from lira_list_backups; default the newest) back in place of the model file. The current file is backed up first, so restoring the newest backup again undoes this. An open model is closed and opened again; it must have no unsaved changes unless discard_changes is true. Analysis results in LIRA's work folder still belong to the replaced version: analyse again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| backup | No | ||
| discard_changes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||