Ploi API
Ploi API

Get backup

Please note: This endpoint will be deprecated soon. It is replaced in favor of a new endpoint: https://developers.ploi.io/844-database/2127-get-database-backup

Get a backup from a database

GET api/servers/{server}/databases/{database}/backups/{backup}

Example request:

curl -X GET "https://ploi.io/api/servers/{server}/databases/{database}/backups/{backup}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "id": 1,
        "type": "dropbox",
        "type_human": "Dropbox",
        "path": null,
        "locations": null,
        "interval": 20,
        "table_exclusions": null,
        "active": true,
        "last_backup_at": null,
        "created_at": "2019-08-07 13:43:20"
    }
}