VPS
List server backups
get
/vps/{vps_id}/backupsView all backups for your server including manual and automatic backups with their status and creation dates.
Autorización
Authorization
Authorization*string
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Parámetros de ruta
vps_id*integer
Rango
1 ≤ valueParámetros de consulta
limit?integer
Por defecto
50offset?integer
Por defecto
0Respuestas
Successful Response
application/json
backups*array<BackupOut>
Propiedades (14)
id*integer
vps_id*integer
backup_type*BackupType
Valores
"manual""automatic"backup_volid*string | null
status*BackupStatus
Valores
"pending""in_progress""completed""failed""deleted"progress*integer
Rango
0 ≤ value ≤ 100size_gb*number | null
pbs_storage*string | null
started_at*string | null
Formato
date-timecompleted_at*string | null
Formato
date-timeerror_message*string | null
notes*string | null
created_at*string
Formato
date-timesnapshot_uuid?string | null
total*integer
has_settings*boolean
settings?BackupSettingsOut | null
Backup settings response
Propiedades (8)
enabled*boolean
schedule_hour*integer
Hour of day to run backups (0-23)
Rango
0 ≤ value ≤ 23retention_days*integer
Days to keep backups (max 7 days)
Rango
1 ≤ value ≤ 7max_backups*integer
Maximum number of backups to keep
Rango
1 ≤ value ≤ 10id?integer | null
vps_id*integer
created_at?string | null
Formato
date-timeupdated_at?string | null
Formato
date-time