Skip to main content
Lists, creates and restores database snapshots. For list and create, the database ID is optional: the CLI resolves it from the argument, then falls back to an interactive picker.
The restore subcommand is destructive: it replaces the database’s current data with the snapshot’s. It asks for y/N confirmation before proceeding; pass -y/--yes to skip the prompt. list accepts --json for raw machine-readable output. Use squarecloud db snapshot --help for more information about this command.