Last modified April 22, 2025
manageSettingsSecurity
This function allows you to modify the Security Settings.
| Parameter name | Type | Description | Possible values | Example |
|---|---|---|---|---|
| mfa_enabled | Boolean | Enable/Disable two-factor authentication. |
|
--mfa_enabled=1 |
| alternate_data_folder | Boolean | Specify a custom data directory for storing JetBackup configuration and backup data. | $nbsp; | --alternate_data_folder=/PATH/TO/DIRECTORY |
| daily_checksum_check | Boolean | Enable/Disable daily checksum verification of WordPress core files. |
|
--daily_checksum_check=1 |
Example Call JETAPI
wp jetbackup manageSettingsSecurity --mfa_enabled=1 --daily_checksum_check=1 --alternate_data_folder=/home/user/jetbackup-0925356bc847Saved Successfully
+-------------+---------------+-------------------------------------+---------------------------------+
| MFA Enabled | MFA Allow CLI | Alternate Data Directory | Validate System Files Checksums |
+-------------+---------------+-------------------------------------+---------------------------------+
| Yes | No | /home/user/jetbackup-0925356bc847 | Yes |
+-------------+---------------+-------------------------------------+---------------------------------+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.