Last modified April 22, 2025
manageSettingsMaintenance
This function allows you to modify the Maintenance Settings.
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
maintenance_queue_hours_ttl | Integer | Clear completed items from the queue table after a specified number of hours. Set to 0 to disable. | --maintenance_queue_hours_ttl=24 |
|
maintenance_download_items_ttl | Integer | After the set number of hours, expired download items will be automatically deleted. Set to 0 to disable | --maintenance_download_items_ttl=24 |
|
maintenance_download_limit | Integer | Sets the max active downloads. If the limit is reached, clear one to start a new download. set to 0 to disable. | ||
maintenance_queue_alerts_ttl | Integer | Clear system alerts after a specified number of hours. set to 0 to disable. | ||
config_export_rotate | Integer | Specify the number of exported config backups to keep. The oldest exports will be deleted after the configured retention rate is exceeded. Set to 0 to keep config backups indefinitely. |
Example Call JETAPI
wp jetbackup manageSettingsMaintenance --maintenance_queue_hours_ttl=24 --maintenance_download_limit=5 --maintenance_download_items_ttl=72 --maintenance_queue_alerts_ttl=72 --config_export_rotate=2
Saved Successfully
+-----------------+------------+--------------------+------------------+----------------------+
| Queue Items TTL | Alerts TTL | Download Items TTL | Downloads Limits | Config Export Rotate |
+-----------------+------------+--------------------+------------------+----------------------+
| 24 | 72 | 72 | 5 | 2 |
+-----------------+------------+--------------------+------------------+----------------------+
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.