This is the command you need to do a complete database dump:
mysqldump -u root -proot-password database-name > database.sql
To restore from a database file you can use the following:
mysql -u root -proot-password database-name < database.sql
Add a WordPress shortcode plugin to your client sites to make managing content even easier!
If you'd like to work with code synthesis on your next project
get in touch via the contact page.
Activelab.io is a web development blog
for open-source technologies. Here you will find code-snippets,
tutorials and posts on useful
developer tools and resources.
Activelab is written by web developer David Bainbridge.