This function returns whether a WordPress® site backup restoration is in progress.
Note:
uapi --output=jsonpretty \ --user=username \ WordPressRestore \ any_running
{- "data": {
- "any_running": 1,
- "sites": [
- {
- "id": null,
- "site": "example.com",
- "type": "restore"
}
]
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}