Docs menu

API reference

backups.restore

Restore a Site to a restore point

POST/api/v1/sites/{siteId}/backups/{pointId}/restore

Needs the backup:restore permission. As an MCP tool it is named backups.restore.

Details

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

FieldTypeNotes
siteIdrequiredstring1 to 64 characters
pointIdrequiredstring1 to 64 characters
siteNamerequiredstring0 to 80 characters
confirmrequiredtrue

Output

FieldTypeNotes
jobIdrequiredstring
undoPointIdrequiredstring

All Operations