Logo

Command Palette

Search for a command to run...

backups download

Download a managed database backup via the command line. If the backup spans multiple files, the command will automatically concatenate them into a single file.

$ cx backups download --stack <application name> [--download <download directory>] <backup id>

Options

ArgumentsRequired?DefaultDescription
--stack, -s <application name>yesThe name of the application
--directory, -d <download directory>noThe local directory in which to save the downloaded file
<backup ID>yesThe backup ID (you can get this using the backup list command)

Examples

$ cx backups download -s mystack -d /tmp/backups 23212