Skip to Content
dFlow
Data

dflow db:backups:list

List backups for a PostgreSQL, MySQL, or Redis database.

This lists backups for one PostgreSQL, MySQL, or Redis database. When the object store driver is s3, that service has a daily backup at 02:00 UTC, five-field cron 0 2 * * *, kept 7 days. Use an id from the list with dflow db:restore. MongoDB backups are not available. The command returns that backups are not available.

dflow db:backups:list SOURCE

Flags

This command adds no flags of its own. --output, --api, and --context still apply.

What you see

The terminal prints heading ID KIND STATUS BACKUP. JSON output includes failure_reason when a backup failed. Credential-shaped text is removed from that field. Use an id from this list with dflow db:restore.

When it fails

A missing database exits 3. A platform that has no backups configured exits 6. MongoDB returns that backups are not available.

How is this guide?

Last updated on