alexc7018 / vvv-site-wizard

Automates setting up new WordPress sites in Varying Vagrant Vagrants
GNU General Public License v2.0
346 stars 47 forks source link

New VVV and db backups #12

Closed jonathan-dejong closed 10 years ago

jonathan-dejong commented 10 years ago

Hi!

Just wondering.. from my understanding the newer version of VVV has changed the way it creates/accesses mysql databases. Now it seems you need to write two lines in the vvv/database/init-custom.sql file for it to properly do a backup on each halt etc.

Have vvv-site-wizard been updated to accommodate for these changes? I.e. automatically adds the necessary lines for each new site / removes them for sites being deleted..

Thanks!

alexc7018 commented 10 years ago

Right now the database is created during provisioning in the vvv-init.sh file. I do plan on migrating this to using init-custom.sql in the near future. Keep an eye out for the change!

alexc7018 commented 10 years ago

In the develop branch, I moved the database creation to init-custom.sql. Enjoy!