-4

Normally I goto Config Sync then export all > save config tar.gz > import.

Can this be achieved with one command?

2
  • Have you looked it up? Google, docs, code, anything? With what search request? What did you search for? What have you found so far and what exactly is still unclear with these search results?
    – leymannx
    Commented Jan 6, 2019 at 17:31
  • Brutal down votes. I guess my question didn't express my confusion with with how through UI you export then import but the command to do the same is drush cex. Originally I understood that command to only "config export" similar to the UI option.
    – john4008
    Commented Jan 24, 2019 at 19:28

2 Answers 2

2

Drush has two commands. cex and cim, for export and import.

Example:

drush cim

1
1

To export config use:

drush cex

@see https://drushcommands.com/drush-8x/config/config-export/


To import config use:

drush cim

@see https://drushcommands.com/drush-8x/config/config-import/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.