nystudio107 / craft-scripts

Shell scripts to manage database backups, asset backups, file permissions, asset syncing, cache clearing, and database syncing between Craft CMS environments
https://nystudio107.com/
MIT License
362 stars 61 forks source link

How does this work with Craft 3.1 project config? #50

Closed parkerpearson closed 4 years ago

parkerpearson commented 4 years ago

I'm mainly wondering about the scenario where I am using the project.yaml to sync settings/structures between environments but then I use pull_db.sh to sync the actual db content.

Does pull_db.sh only bring in the actual content, or will it also override the db settings that are initially created from the project.yaml file?

Thanks!

khalwat commented 4 years ago

It will pull the entire db down, including any changes from the project.yaml -- I use them on several sites with Project Config enabled, and they work great together!