restore_from_file
Restore a WordPress page from a JSON backup file. Requires the file path returned by a prior backup operation and a two-step confirmation to prevent accidental overwrites.
Instructions
Restore a page from a JSON backup file (created by ANY earlier op with backup_to_file=true or by direct fullBackup with to_file). Requires the file_path returned by that backup. Two-call confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| page_id | Yes | ||
| file_path | Yes | ||
| confirmation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| page_id | Yes | ||
| file_path | Yes | ||
| method | No | ||
| pre_restore_backup_meta_key | No | ||
| css_flush | No | ||
| confirmation_token | No |