This function checks for any active WordPress® site backups on the cPanel account.
Note:
You must install the WordPress Manager cPanel plugin to access this API function.
uapi --output=jsonpretty \ --user=username \ WordPressBackup \ any_running
{- "apiversion": 3,
- "func": "any_running",
- "module": "WordPressBackup",
- "result": {
- "data": {
- "any_running": 0,
- "sites": [
- {
- "id": "null",
- "site": "example.com",
- "type": "backup"
}
], - "sse_url": "/sse/WordPressBackup"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}