Skip to content

vip dev-env sync sql

Sync the database of a VIP Platform environment to a local environment.

Usage

vip dev-env sync sql [options]

Options

OptionDescription
-a, --app Target an application. Accepts a string value for the application name or an integer for the application ID.
-d, --debug Generate verbose output during command execution to help identify or fix errors or bugs.
-e, --env Target an environment. Accepts a string value for the environment type.
-f, --force Skip validations.
-h, --help Retrieve a description, examples, and available options for a (sub)command.
-s, --slug A unique name for a local environment. Default is “vip-local”.
-v, --version Retrieve the version number of VIP-CLI currently installed on the local machine.

Examples

- Sync the database of the develop environment in the "example-app" application to a local environment named "example-site".
$ vip @example-app.develop dev-env sync sql --slug=example-site

Last updated: July 11, 2024