Get database backup

Get a specific database backup.


GET/api/backups/database/{databaseBackupId}

Get database backup

This endpoint returns details for a specific database backup.

Request

GET
/api/backups/database/{databaseBackupId}
curl -G "https://ploi.io/api/backups/database/{databaseBackupId}" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Response

{
  "data": {
    "id": 1,
    "status": "active",
    "label": "My AWS provider",
    "type": "aws-s3",
    "type_human": "AWS S3",
    "path": "/",
    "remote_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"
  }
}