API reference
backups.restore
Restore a Site to a restore point
POST/api/v1/sites/{siteId}/backups/{pointId}/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
| Field | Type | Notes |
|---|---|---|
siteIdrequired | string | 1 to 64 characters |
pointIdrequired | string | 1 to 64 characters |
siteNamerequired | string | 0 to 80 characters |
confirmrequired | true |
Output
| Field | Type | Notes |
|---|---|---|
jobIdrequired | string | |
undoPointIdrequired | string |