Last modified April 22, 2025
manageSettingsRestore
This function allows you to modify the Restore Settings.
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
restore_compatibility_check | Boolean | Enable/Disable checking system compatibility before restoring a backup. |
|
--restore_compatibility_check=1 |
restore_allow_cross_domain | Boolean | Enable/Disable restoring backups across different domains. |
|
--restore_allow_cross_domain=1 |
restore_alternate_path | Boolean | Enable/Disable using alternate public restore path. Enable this option to access the restore file from the plugin’s directory (/wp-content/plugins/backup/restore.php ) instead of the default location (mysite.com/restore.php ). |
|
--restore_alternate_path=1 |
enable_rest_api_scheduler | Boolean | Enable/Disable the REST API scheduler. |
|
--enable_rest_api_scheduler=1 |
restore_wp_content_only/th> | Boolean | Enable/Disable to limit restores to the wp-content folder only. |
|
--restore_wp_content_only=1 |
Example Call JETAPI
wp jetbackup manageSettingsRestore --restore_compatibility_check=1 --restore_allow_cross_domain=1 --restore_alternate_path=1 --restore_wp_content_only=1
Saved Successfully
+-----------------------------+----------------------------+------------------------+----------------------------------+
| Restore Compatability Check | Restore Allow Cross Domain | Restore Alternate Path | Limit restore to wp-content only |
+-----------------------------+----------------------------+------------------------+----------------------------------+
| 1 | 1 | 1 | 1 |
+-----------------------------+----------------------------+------------------------+----------------------------------+
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.