Last modified October 31, 2024

getSettingsRestore

This function prints the objects data given its Settings Restore Object.
Returns
Parameter name Type Description
limit_times String The limit restore that can be performed per account. [ To disable insert 0 in either one of the fields ]
limit_hours String The limit restore performed per hour. [ To disable insert 0 in either one of the fields ]
package_selection Boolean Choose whether to to use live account package or backed packed while restoring
lock_homedir Boolean Choose whether to lock accounts homedir with 000 permissions while restoring homedir files or not

Example Call JETAPI

jetbackup5api -F getSettingsRestore
success: 1
message:
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=getSettingsRestore