/users/{name}/backups
0.1.0Unchanged since publicationList a customer's backup archives and any active backup or restore job
backupsreadallThe 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 serverParameters
namepath ·UsernameRequiredExample
See the API overview for how to set $API and $TOKEN.curl -sS -X GET "$API/users/alice/backups" \ -H "Authorization: Bearer $TOKEN"
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 sentence400--name is required400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter400Username '<value>' is reserved401Authentication required404Unknown user <name>urbestack.com/docs/api/get-users-name-backups/