This function starts a single WordPress® site backup restoration.
Note:
You must install the WordPress Manager cPanel plugin to access this API function.
uapi --output=jsonpretty \ --user=username \ WordPressRestore \ start \ site='example.com' \ backup_path='/home/example/wordpress-backups/example.com__2018-11-13T11:11:31-0600.tar.gz'
{- "apiversion": 3,
- "func": "start",
- "module": "WordPressRestore",
- "result": {
- "data": {
- "restore_id": "example.com__2018-11-15T08:03:22-0600"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}