Skip to content
Reviactyl v26 has been released!
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Backup

Returns all the backups for a given server instance in a paginated result set

get
Path parameters
serverintegerRequired

The server ID

Responses
200Success
application/json
itemsanyOptional
get/servers/{server}/backups
GET /api/client/servers/{server}/backups HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Starts the backup process for a server

post
Path parameters
serverintegerRequired

The server ID

Body
namestring · max: 191 · nullableOptional
is_lockedboolean · nullableOptional
ignoredstring · nullableOptional
formatstring · enumOptionalPossible values:
Responses
200Success
application/json
itemsanyOptional
post/servers/{server}/backups
POST /api/client/servers/{server}/backups HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 63

{
  "name": null,
  "is_locked": null,
  "ignored": null,
  "format": "tar.gz"
}
[]

Returns information about a single backup

get
Path parameters
serverintegerRequired

The server ID

backupstringRequired

The backup UUID

Responses
200Success
application/json
itemsanyOptional
get/servers/{server}/backups/{backup}
GET /api/client/servers/{server}/backups/{backup} HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Deletes a backup from the panel as well as the remote source where it is currently being stored

delete
Path parameters
serverintegerRequired

The server ID

backupstringRequired

The backup UUID

Responses
204

No content

application/json
string[]Optional
delete/servers/{server}/backups/{backup}
DELETE /api/client/servers/{server}/backups/{backup} HTTP/1.1
Host: reviactyl.test
Accept: */*
[
  "text"
]

Download the backup for a given server instance. For daemon local files, the file will be streamed back through the Panel. For AWS S3 files, a signed URL will be generated which the user is redirected to

get
Path parameters
serverintegerRequired

The server ID

backupstringRequired

The backup UUID

Responses
200Success
application/json
objectconst: signed_urlRequired
get/servers/{server}/backups/{backup}/download
GET /api/client/servers/{server}/backups/{backup}/download HTTP/1.1
Host: reviactyl.test
Accept: */*
{
  "object": "text",
  "attributes": {
    "url": "text"
  }
}

Rename the backup alias shown in the panel

post

This does not change the archived filename on disk.

Path parameters
serverintegerRequired

The server ID

backupstringRequired

The backup UUID

Body
namestring · max: 191Required
Responses
200Success
application/json
itemsanyOptional
post/servers/{server}/backups/{backup}/rename
POST /api/client/servers/{server}/backups/{backup}/rename HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
[]

Toggles the lock status of a given backup for a server

post
Path parameters
serverintegerRequired

The server ID

backupstringRequired

The backup UUID

Responses
200Success
application/json
itemsanyOptional
post/servers/{server}/backups/{backup}/lock
POST /api/client/servers/{server}/backups/{backup}/lock HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Handles restoring a backup by making a request to the Agent instance telling it to begin the process of finding (or downloading) the backup and unpacking it over the server files

post

If the "truncate" flag is passed through in this request then all the files that currently exist on the server will be deleted before restoring. Otherwise, the archive will simply be unpacked over the existing files.

Path parameters
serverintegerRequired

The server ID

backupstringRequired

The backup UUID

Body
truncatebooleanRequired
Responses
204

No content

application/json
string[]Optional
post/servers/{server}/backups/{backup}/restore
POST /api/client/servers/{server}/backups/{backup}/restore HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "truncate": true
}
[
  "text"
]

Last updated

Was this helpful?