Servers
Endpoints for the servers of the team. Each server runs the Backup Chief agent, which runs its backup jobs and reports their results.
List servers
List the team's servers by name.
query Parameters
querySearch results by name.
per_pageNumber of results per page.
pagePage number to return.
statusOnly return servers in this state: attention for servers whose agent is offline or rejected its configuration, connected, offline, pending or revoked.
List servers › Responses
Paginated set of Server
Create a server
Add a pending server to the team. The response includes a one-time enrollment token, valid for one hour, and the setup command to run on the server. The token is not returned again: issue a new one when it is lost or expired.
Create a server › Request Body
nameDisplay name of the server.
agent_auto_updatesWhether the server installs new agent releases automatically, null to follow the team setting.
Create a server › Responses
The server was created.
Get a server
Get one of the team's servers with its agent status, version and job counts.
path Parameters
serverGet a server › Responses
Server
Update a server
Rename a server or change whether it installs new agent releases automatically. Fields left out keep their value.
path Parameters
serverUpdate a server › Request Body
nameDisplay name of the server.
agent_auto_updatesWhether the server installs new agent releases automatically, null to follow the team setting.
Update a server › Responses
Server
Revoke a server
Revoke the server's agent credential and cancel its pending work. Backup jobs, runs and snapshots are kept. Revocation cannot reach an offline or compromised machine: also revoke the storage credentials it used. Revoking a revoked server changes nothing.
path Parameters
serverRevoke a server › Responses
Server
Issue an enrollment token
Issue a new one-time enrollment token, valid for one hour, with the setup command to run on the server. Earlier unused tokens stop working. For a pending server the token enrolls its first agent. For an enrolled or revoked server it sets the server up again: the server becomes pending, its current agent is disconnected and its running work is cancelled.
path Parameters
serverIssue an enrollment token › Responses
The token was issued.
Update the agent
Ask the server's agent to install the latest agent release once its current work reaches a safe stopping point. The agent must be connected and support remote updates. When an update is already scheduled, that update is kept.
path Parameters
serverUpdate the agent › Responses
Server