config:export

Export current application configuration.

Usage:

drupal config:export  [options]
ce

Available options

OptionDetails

--directory

Define the export directory to save the configuration output.

--remove-uuid

If set, the configuration will be exported without uuid key.

--remove-config-hash

If set, the configuration will be exported without the default site hash key.

--tar

If set, the configuration will be exported to an archive file.

Examples

Optional you can add the path to export

drupal config:export  \
  --directory="path/to/export"

Export as a compressed file with uuid and config hashes removed

drupal config:export  \
  --directory="path/to/export" \
  --tar \
  --remove-uuid \
  --remove-config-hash