pscale database dump <database> <branch>
Backup and dump your database
Arguments
Name | Description |
---|
database | |
branch | |
Options
Name | Description |
---|
--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 |
--local-addr <string> | Local address to bind and listen for connections. By default the proxy binds to 127.0.0.1 with a random port |
--output <string> | Output director of the dump. By default the dump is stored to a folder in the current directory |
--tables <string> | Comma separated string of tables to dump. By default all tables are dumped |