backups.restore

Restore a Site to a restore point

POST/api/v1/sites/{siteId}/backups/{pointId}/restore
Permission
backup:restore
MCP tool
backups.restore

What it does

Put a Site's database (content, users, settings, plugin data) back to a restore point and, when that point copied the media and media backup is still on, its images and files too; files added since stay. First WoFlare takes a restore point of the Site as it is now, so the restore can be undone by restoring that one. The Site's code and its encryption key do not change. Overwrites the Site's current content: siteName must be the Site's name exactly, and confirm true. CONFLICT when the point has expired or is not ready, or while another backup Job runs. Audited.

Input

  • siteIdstringrequired

    1 to 64 characters

  • pointIdstringrequired

    1 to 64 characters

  • siteNamestringrequired

    0 to 80 characters

  • confirmtruerequired

Output

  • jobIdstringrequired

  • undoPointIdstringrequired

All Operations