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.
  • 0 - Disabled
  • 1 - Enabled
--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.
  • 0 - Disabled
  • 1 - Enabled
--daily_checksum_check=1

Example Call JETAPI

wp jetbackup manageSettingsSecurity --mfa_enabled=1 --daily_checksum_check=1 --alternate_data_folder=/home/user/jetbackup-0925356bc847
Saved Successfully
+-------------+---------------+-------------------------------------+---------------------------------+
| MFA Enabled | MFA Allow CLI | Alternate Data Directory            | Validate System Files Checksums |
+-------------+---------------+-------------------------------------+---------------------------------+
| Yes         | No            | /home/user/jetbackup-0925356bc847   | Yes                             |
+-------------+---------------+-------------------------------------+---------------------------------+