--yes.
Required flags
Optional flags
Anything you leave out is left out of the request, and the server applies its own default.Number of replicas,
1 or more. Each replica is a full copy, so it uses the same CPU, memory and storage again.How many days to keep scheduled backups. Your plan sets the maximum; see Plans and pricing.
When scheduled backups run, in cron format: minute, hour, day of month, month, day of week. For example,
"0 2 * * *" is every day at 2:00 AM. Quote it so your shell doesn’t expand the * characters.Skip the confirmation prompt. Required when there’s no terminal, for example in CI.
There is no
--plan or --tier flag. Your organization’s subscription decides what you can create, and the server checks your quota.Examples
Confirmation
The prompt names the organization and every value that will be sent:y continues. Any other answer, including just pressing Enter, cancels with DECLINED (exit 2) and nothing is created.
If there’s no terminal and you didn’t pass --yes, the command fails with CONFIRMATION_REQUIRED (exit 2) without sending anything.
Output
--json:
sabaoth postgres get until status is ready.
If the result is unknown
If the request was sent but no response came back (for example, the network dropped), the service may or may not have been created. The CLI never retries a create, because a retry could create a second billable service. Instead it fails withUNKNOWN_MUTATION_OUTCOME, marked as not retryable.
Run sabaoth postgres list to check whether the service exists before trying again.
Errors
Related
- Creating services in the dashboard, including the sizes and limits per plan
sabaoth postgres getsabaoth postgres delete