Last modified November 7, 2024
manageBackupLock
This function allows you to modify the Backup Lock Status.
Parameter name | Type | Description | Possible Values | Example |
---|---|---|---|---|
_id | String | REQUIRED The Backup Parent ID. | N/A | _id=64b057bfafcd2a57410d4d2b |
locked | String | Integer value indicating lock status |
|
locked=0 |
lock_ttl | String | The Locked Backup TTL | Empty or 0: Unlimited | lock_ttl=10 |
Example Call JETAPI
jetbackup5api -F manageBackupLock -D "_id={$PARENT_ID}&locked=1&lock_ttl=10"
success: 1
message: Backup locked 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:
Example Call HTTP
https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageBackupLock&_id={$PARENT_ID}&locked=1&lock_ttl=10
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.