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.
  • 0 - Disabled
  • 1 - Enabled
--restore_compatibility_check=1
restore_allow_cross_domain Boolean Enable/Disable restoring backups across different domains.
  • 0 - Disabled
  • 1 - Enabled
--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).
  • 0 - Disabled
  • 1 - Enabled
--restore_alternate_path=1
enable_rest_api_scheduler Boolean Enable/Disable the REST API scheduler.
  • 0 - Disabled
  • 1 - Enabled
--enable_rest_api_scheduler=1
restore_wp_content_only/th> Boolean Enable/Disable to limit restores to the wp-content folder only.
  • 0 - Disabled
  • 1 - Enabled
--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                                |
+-----------------------------+----------------------------+------------------------+----------------------------------+