View the configurations of all Installatron administration Backup Schedules.
curl -X POST https://{SERVER_IP}/set/backup_schedules \
-H 'X-API-KEY: {the key= or key2= value from /usr/local/installatron/etc/settings.ini}' \
-H 'Accept: application/json'
{
"result": true,
"status": 200,
"errcode": null,
"errfield": null,
"message": "The task is complete.\n"
"total_count": 5,
"has_more": false,
"data":[
{
"id": "weeklymonthly",
"daily": 0,
"weekly": 1,
"monthly": 1,
"apps": "",
"enabled": true,
"forced": false,
"location": "",
"name": "",
},
{
"id": "dailyweeklymonthly",
"daily": 1,
"weekly": 1,
"monthly": 1,
"apps": "",
"enabled": true,
"forced": false,
"location": "",
"name": "",
},
{
"id": "daily30",
"daily": 30,
"weekly": 0,
"monthly": 0,
"apps": "",
"enabled": true,
"forced": false,
"location": "",
"name": "",
},
{
"id": "1234567890abcdefghij123456789012",
"daily": 1,
"weekly": 2,
"monthly": 3,
"apps": "",
"enabled": true,
"forced": false,
"location": "",
"name": "Example Backup Schedule",
},
{
"id": "1234567890abcdefghij123456789012",
"daily": 0,
"weekly": 0,
"monthly": 1,
"apps": "",
"enabled": false,
"forced": true,
"location": "",
"name": "Example Forced Backup Schedule",
"retainable": true
}
]
},