list_database_dumps
Lists backup dump archives for one managed database, newest first with size and timestamp, to check retention or confirm a timed-out dump finished before retrying.
Instructions
List the dump tars this daemon holds for one managed database.
Newest first, ``{dump, size_bytes, created_at}`` per row, where
``created_at`` is the tar's mtime (the listing never opens an archive).
Metadata only, like ``dump_database``: the tars themselves stay under
the daemon's backups directory and are never served over HTTP, and each
one holds every row of ``name``.
Two things this read is for. It is the recovery path when a
``dump_database`` call outran your client's read budget — **the dump
still completes server-side and shows up here**, so list before you
retry. And it is how you check retention: the daemon keeps the last
``[retention].dump_keep_last`` per database (default 5) and prunes the
rest hourly, so on a default daemon what is listed here is all there is.
Retention can be turned off (``dump_keep_last = 0``), so the listing is
capped at the newest 500 instead: ``truncated`` is true when older tars
exist on the box that this page does not name.
Owner-or-admin plus token scope — the same gate as the dump that
produced them, because knowing which dumps a database has is knowing
something about the data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of an existing managed database (``kind=database``); an app or model row is refused. |