---
title: "Get backups"
method: GET
path: "/api/vps/v1/virtual-machines/{virtualMachineId}/backups"
tags: ["VPS: Backups"]
---

# Get backups

`GET /api/vps/v1/virtual-machines/{virtualMachineId}/backups`

Retrieve backups for a specified virtual machine.

Use this endpoint to view available backup points for VPS data recovery.

## Path parameters

- `virtualMachineId` integer, required

## Query parameters

- `page` integer

## Response `200`

Success response

- object
  - `data` VPSV1BackupBackupResource[] — Array of [`VPS.V1.Backup.BackupResource`](#model/vpsv1backupbackupresource)
    - `id` integer — Backup ID
    - `size` integer — Backup size in kilobytes
    - `restore_time` integer — Estimated backup restore time in seconds
    - `location` string — Location of the backup
    - `created_at` string, date-time
  - `meta` CommonSchemaPaginationMetaSchema
    - `current_page` integer
    - `per_page` integer
    - `total` integer

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
