archive:export
Export an archive of the Drupal application including code, files, and database
This command requires authentication via the Cloud Platform API. This command requires an active database connection. Set the following environment variables prior to running this command: ACLI_DB_HOST, ACLI_DB_NAME, ACLI_DB_USER, ACLI_DB_PASSWORD
Usage
acli archive:export [-dir|--source-dir SOURCE-DIR] [--no-files] [-no-db|--no-database] [--] <destination-dir>
Arguments
destination-dir
Required
The destination directory for the archive file
Options
--source-dir | -dir
Required
The directory containing the Drupal project to be pushed
--no-files
Optional
Exclude public files directory from archive
Defaults to
false--no-database | -no-db
Optional
Exclude database dump from archive
Defaults to
false--help | -h
Optional
Display help for the given command. When no command is given display help for the `list` command