Skip to main content
Lists a service’s backups, newest first. Returns one page unless you pass --all.

Arguments

string
required
The ID of the service, for example clu_abc.

Flags

integer
Most backups to return, 1 or more. If left out, the server’s default is used.
integer
How many backups to skip before the first one returned, 0 or more.
boolean
default:"false"
Fetch every page, starting from --offset.
string
Organization the service belongs to, instead of the selected one.
boolean
default:"false"
Print the result as JSON on stdout.

Examples

Output

SIZE shows - until the backup has a size. With --json:
backup_type is scheduled for automatic backups and on-demand for ones you requested. See Backup statuses for status values.

Behavior

  • --all never returns a partial list as if it were complete. An error part-way through fails the whole command. If it stops at the CLI’s internal page limit, you get a warning instead.
  • The organization check happens on the server. This command sends one request and doesn’t look up the service first. If you want the CLI to confirm the service’s organization too, run sabaoth postgres get first.

Errors