View the configurations of all Installatron administration Backup Locations.
curl -X POST https://{SERVER_IP}/set/backup_locations \
-H 'X-API-KEY: {the key= or key2= value from /usr/local/installatron/etc/settings.ini}' \
-H 'X-HTTP-Method-Override: GET' \
-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": "local",
"default": true,
"desc": "_tasks_backup_mywebhostingaccount",
"enabled": true,
"name": "_tasks_backup_myaccount",
"scope": "admin",
"uri": "local://account@localhost"
},
{
"id": "1234567890abcdefghij123456789009",
"default": false,
"enabled": true,
"name": "Example Dropbox Backup Location",
"scope": "admin",
"uri": "dropbox3://dbid%3A1234567890abcdefghijABCDEFGHIJ12345:1234567890abcdefghijABCDEFGHIJ1234567890abcdefg_12345abcdeABCDE0@abcdefghijklmno"
},
{
"id": "1234567890abcdefghij123456789010",
"default": false,
"enabled": true,
"name": "Example File System Backup Location",
"scope": "admin",
"uri": "file://localhost/backup"
},
{
"id": "1234567890abcdefghij123456789011",
"default": false,
"enabled": true,
"name": "Example Google Drive Backup Location",
"scope": "admin",
"uri": "gdrive://google:1%2F%2F012ab_12345abcdeABCDE12345ab-12345abcdeABCDE12-12345abcdeABCDE1-1234567890abcdefghijABCDEFGHIJ123456@drive.google.com"
},
{
"id": "1234567890abcdefghij123456789012",
"enabled": true,
"default": false,
"name": "Example S3 Backup Location",
"scope": "admin",
"uri": "s3://1234567890ABCDEFGHIJ:12abAB0%2B1234567890abcdefghijABCDEFGHIJ12@s3.us-east-1.amazonaws.com/us-east-1/s3.myexampledomain.com/exampleprefix"
}
]
},