Get site file backup

Get a specific site file backup.


GET/api/backups/file/{fileBackupId}

Get site file backup

This endpoint allows you to retrieve details of a specific site file backup.

Request

GET
/api/backups/file/{fileBackupId}
curl -X GET "https://ploi.io/api/backups/file/1" \
  -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": "/home/ploi/ploi.info",
    "remote_path": "/",
    "locations": null,
    "interval": "daily",
    "table_exclusions": null,
    "keep_backup_amount": 5,
    "active": 0,
    "server_id": null,
    "site": {
      "id": 1,
      "root_domain": "ploi.info"
    },
    "last_backup_at": "2024-08-02 00:00:00",
    "created_at": "2024-07-18 00:00:00"
  }
}