Skip to main content

List all backups

listBackups() returns all backups from the configured storage provider, sorted newest first.

Shape of each entry

Get metadata for one backup

Returns null if the backup doesn’t exist.

Filtering

listBackups() returns everything. Filter in JavaScript:
For large backup sets, this is an in-memory filter after fetching — for thousands of backups you may want to paginate at the storage layer (future API).

Sample: find the most recent successful backup

Sample: report backup health

Wire this into your app’s /health endpoint or cron-driven monitoring.

See also

Creating backups

Create new backups.

dbdock list

CLI equivalent.