pscale database
Create, read, delete, and dump/restore databases
Subcommands
Name | Description |
---|
create | Create a database instance |
delete, rm | Delete a database instance |
dump | Backup and dump your database |
list, ls | List databases |
restore-dump | Restore your database from a local dump directory |
show | Retrieve information about a database |
Options
Name | Description |
---|
--org <string> | The organization for the current user |
--help, -h | Show help |
--api-token <string> | The API token to use for authenticating against the PlanetScale API |
--api-url <string> | The base URL for the PlanetScale API. (default "https://api.planetscale.com/") |
--config <string> | Config file (default is $HOME/.config/planetscale/pscale.yml) |
--debug | Enable debug mode |
--format, -f <string> | Show output in a specific format. Possible values: [human, json, csv] (default "human") |
--no-color | Disable color output |
--service-token <string> | Service Token for authenticating |
--service-token-name <string> | The Service Token name for authenticating |