Package export using drush

    To export Site Studio packages and dependencies to your sync directory, use the following Drush command:

    $ drush sync:export

    This command has the following options:

    • --filename-prefix[=FILENAME-PREFIX] The export filename prefix that will output a file like: [prefix]-package.yml_ 

    By default this will create a file called: [your-site--name].package.yml_ in the site_studio_sync directory configured in your settings.php. The file has an underscore after the file extension so that Drupal core config import/export doesn't detect and process it.

    Example

    $ drush sync:export --filename-prefix=myfilenamehere

    This will create a file called:  myfilenamehere.package.yml_ in your sync directory.

    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.