Acquia CLI

env:mirror

Makes one environment identical to another in terms of code, database, files, and configuration.

This command requires authentication via the Cloud Platform API.

Usage

acli env:mirror [-c|--no-code] [-d|--no-databases] [-f|--no-files] [-p|--no-config] [--] <source-environment> <destination-environment>
acli env:mirror [<environmentAlias>]
acli env:mirror myapp.dev
acli env:mirror 12345-abcd1234-1111-2222-3333-0e02b2c3d470
acli env:mirror [<environmentAlias>]
acli env:mirror myapp.dev
acli env:mirror 12345-abcd1234-1111-2222-3333-0e02b2c3d470

Arguments

  • source-environment

    Required

    The Cloud Platform source environment ID or alias

  • destination-environment

    Required

    The Cloud Platform destination environment ID or alias

Options

  • --no-code | -c

    Optional

    Defaults to false

  • --no-databases | -d

    Optional

    Defaults to false

  • --no-files | -f

    Optional

    Defaults to false

  • --no-config | -p

    Optional

    Defaults to false

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the `list` command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false

Acquia Help

Filter by product:

Common questions

If you can't find what you're looking for, try refining your search or contact our Support teamfor further assistance.