bricks_import_full_state
Import a full-state backup from a JSON file to restore pages, templates, globals, and WP settings with automatic safety backup and infrastructure protection.
Instructions
Import a full-state backup supplied as JSON (e.g. a file downloaded from another site) rather than a server-stored file. Same safety guarantees as bricks_restore_full_backup (auto safety backup, infra protection).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Restore pages (default: true) | |
| backup | Yes | A full-state backup object (must contain a manifest, pages, etc.) | |
| globals | No | Restore globals (default: true) | |
| templates | No | Restore templates (default: true) | |
| force_infra | No | DANGER: overwrite infra options (default: false) | |
| wp_settings | No | Restore WP settings (default: true; infra protected) | |
| create_missing | No | Create missing pages/templates (default: true) |