Hacker News new | ask | show | jobs
by deepnet 3729 days ago
sql's mysqldump CLI command locally or phpmyadmin > export produce a text based db backup in SQL and version that file in git.

If it is a huge site split the tables into separate files but 1 file is pretty good for most medium sized clients.

Git merging db's can be gnarly if changed significantly, (rollbacks are trivial).

This looks very useful and GPL just like Wordpress - excellent!

1 comments

basically do the same with drupal also.