Last modified October 31, 2024

manageSettingsRestore

This function allows you to create/modify the Settings Restore Object.
Parameter name Type Description Possible Values Example
limit_times String The limit restore that can be performed per account. [ To disable insert 0 in either one of the fields ]   limit_times=3
limit_hours String The limit restore performed per hour. [ To disable insert 0 in either one of the fields ]   limit_hours=2
package_selection Boolean Choose whether to to use live account package or backed packed while restoring
  • Live Account Package: 1
  • Backed up Package: 2
package_selection=1
lock_homedir Boolean Choose whether to lock accounts homedir with 000 permissions while restoring homedir files or not
  • Yes: 1
  • No: 0
home_dir=0

Example Call JETAPI

jetbackup5api -F manageSettingsRestore -D "limit_times=3&limit_hours=1&package_selection=2&lock_homedir=0"
success: 1
message: Restore Settings Updated Successfully.
system:
  version: 5.3.3
  version_panel: 5.3.3
  tier: EDGE
  type: cPanel
  retry_ms: 0
  disableui:
  dr:
  agreement_panel:
  agreement:
licenseIssue:
data:
limit_times: 3
limit_hours: 1
package_selection: 2
lock_homedir: 0

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageSettingsRestore&limit_times=3&limit_hours=1&package_selection=2&lock_homedir=0