Get your free beta license ↗
API operation · backups group
GET

/users/{name}/backups

First published 3 Oct 20260.1.0Unchanged since publication

List a customer's backup archives and any active backup or restore job

Who may call it
AdministratorResellerCustomer
Token scope, any of
backupsreadall
Answers200 OK

The response lists the customer's on-demand archives in archives, newest first, with the filename, size and modification time of each. A filename ending in .tar.gz.part is marked as in progress. The warnings field counts warnings from the job that created the archive. It is null when no job matches among the 500 most recent successful backup creation jobs, as can happen with archives made at the shell or copied from another server. The job and restore fields report any queued or running backup or restore for the account.

UrbeStack stores on-demand archives with mode 0600 in the customer's backups/ directory, which has mode 0700 and sits at the top of their home directory. These archives count toward the customer's disk allowance. The customer can download and delete them. UrbeStack keeps them until they are deleted.

Administrators always receive the nightly archives present on disk and the nightly backup settings. Customers and resellers receive them only when backups.enabled and backups.nights_for_customers are both on. Otherwise, nights is empty and nightly is null.

As a command

Run as root on the server

Parameters

namepath ·UsernameRequired

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/users/alice/backups" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "archives": [
    {
      "in_progress": true,
      "modified_at": "text",
      "name": "alice",
      "path": "public_html/index.php",
      "size": 1,
      "warnings": 1
    }
  ],
  "job": {
    "created_at": "2026-09-09T10:15:00Z",
    "id": 1,
    "status": "active"
  },
  "nightly": {
    "enabled": true,
    "hour": "text",
    "keep_days": 1
  },
  "nights": [
    {
      "day": "2026-09-09",
      "modified_at": "text",
      "size": 1
    }
  ],
  "nights_open": true,
  "restore": {},
  "server_time": "text",
  "timezone": "text",
  "user": "alice"
}

Errors

5 errors, each a status and a sentence
400--name is required
400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
400Username '<value>' is reserved
401Authentication required
404Unknown user <name>
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-users-name-backups/