Last modified August 14, 2026

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
enforce_hardlink_protection Boolean Refuse restores when the kernel sysctl fs.protected_hardlinks is 0. Disabling exposes a known privilege-escalation path against restored accounts.

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
enforce_hardlink_protection: 0

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getSettingsRestore