Restore Website Database
site_db_restoreRestores the website's database from a backup file taken by site_db_backup (found under /data/backups). Requires confirm=true; without it you get a preview and nothing runs. THIS OVERWRITES CURRENT DATA — rows written after that backup are lost, so take a fresh site_db_backup first if the current state matters at all. Pass only the file name, not a path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| server | No | ||
| confirm | No | ||
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||