Skip to navigation

List backups

View as MarkdownOpen in Claude

Lists the backups of every website your token can reach, newest first. Use filter[site][] for the backups of one or several websites, or filter[id][] with the ids a create or retry returned to follow that batch.

Read phase to know where a backup stands: in_progress (still running), done (a usable copy) or failed. A failed or stalled backup is retried automatically, up to 3 times (4 attempts in all, counted in attempts), within 24 hours of its creation: a rolling 24 hours from its creation time, not the rest of the calendar day. Once a backup has not changed for two hours, the server queues it again; after that it stays failed and attempts reads 4. excluded is the phase of a part that had nothing to copy, so it never matches a whole backup (see include=items on “Retrieve a backup”). status is the raw processing step behind the phase. is_favorite marks a master backup, which is kept out of the retention policy.

Your role must be allowed to read backups; without it the request answers 404.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Query parameters

filter[site][]stringOptional

Exact website ids. Repeat the parameter for several: any of them matches.

filter[id][]stringOptional
Exact backup ids, for example the ones a create or retry returned. Repeat the parameter for several.
filter[phase][]stringOptional

in_progress, done, failed or excluded. Repeat the parameter for several. Only done is a usable copy.

filter[status][]stringOptional

Raw processing steps, for example done, pending, in_progress, uploading, failed, failed_in_creation, failed_export_database, failed_export_files, storage_exceeded. Repeat the parameter for several. Use filter[phase][] unless you need the exact step.

filter[backup_type][]stringOptional

full or incremental. Repeat the parameter for several. Named backup_type because type is reserved in JSON:API.

filter[method][]stringOptional

How the backup started: manual, automatic for a scheduled one, or force_first for the first automatic backup of a website. Repeat the parameter for several: any of them matches.

filter[is_favorite]stringOptional

1 returns only master backups; 0 returns only the ones that follow the retention policy.

includestringOptional

Relations to add to the answer, comma separated: site (the website each backup belongs to) and items (the parts of each backup).

sortstringOptional

created_at or size (in bytes); prefix with - for descending. Default: -created_at (newest first).

page[number]stringOptional
Page number, starting at 1. Default 1.
page[size]stringOptional
Items per page, 1 to 50. Default 15.
fields[site-backups]stringOptional

Sparse fieldset: only the attributes named here are answered. content, restoration_allowed and has_restoration_in_progress are computed only when named here.

Response

200 - Site backups

datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional