Get database backup
Show a database backup.
GET api/backups/database/{databaseBackupIp}
Example request:
curl -X GET "https://ploi.io/api/backups/database/1" \
-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,
"status": "active",
"label": "My AWS provider",
"type": "aws-s3",
"type_human": "AWS S3",
"path": "/",
"locations": null,
"interval": 0,
"table_exclusions": null,
"keep_backup_amount": 0,
"active": true,
"server": {
"id": 1,
"name": "dizzy-leaf"
},
"database": {
"id": 1,
"name": "wordpress_blog"
},
"last_backup_at": "2024-08-01 00:00:00",
"created_at": "2024-08-01 00:00:00"
}
}