# BackupsAccount

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

This type describes an account's backup settings, eligibility and history as shown on the server's Backups page.

## Fields

- `backups` (boolean): Whether nightly backups are enabled for the account.
- `in_run` (boolean): Whether tonight's backup run includes the account.
- `keep_days` (integer): Retention target for nights, taken from backups.keep_days.
- `last_night` (object): Outcome for the account in the last completed run.
  - `day` (string): Day of the run.
  - `error` (string): Error message when state is refused or failed.
  - `reason` (string): Reason the run excluded the account when state is out.
  - `size` (integer): Archive size when state is archived.
  - `state` (string, one of archived, refused, failed, out, none): The value is archived for a finished archive, refused for insufficient disk space, failed for an error, or out for an excluded account. The value is none if no run has seen the account, either because no run has completed or because the account was created since the last run.
- `latest` (object or null)
  - `day` (string)
  - `modified_at` (string)
  - `size` (integer)
- `name` (Username): A username consists of lowercase letters, digits and underscores. For the user role, it also serves as the system account name.
- `nights` (integer): Number of day folders containing a finished archive for the account.
- `out_reason` (string, one of , off, suspended): Empty when the run includes the account. The value off means nightly backups are disabled for the account, and suspended means the account is suspended and the run skips suspended accounts.
- `package` (string or null)
- `status` (string, one of active, suspended)
