Skip to main content

Getting Started

Make sure to first set up your PlanetScale developer environment. Once you’ve installed the pscale CLI, you can interact with PlanetScale and manage your databases straight from the command line.

The backup command

This command allows you to create, list, show, and delete branch backups. Usage:

Available sub-commands

Available flags

Global flags

Examples

The list sub-command with --org flag

Command:
Output:

The show sub-command

Command:
You can find the <BACKUP_ID> by running the pscale backup list <DATABASE_NAME> <BRANCH_NAME> command. Output:

Need help?

Get help from the PlanetScale Support team, or join our Discord community to see how others are using PlanetScale.