How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
It is that simple for WordPress too. I use the following to back up my WP sites: mysqldump -u <user> -p<pass> –quick –extended-insert <db-name> > backup.sql The mysqldump document gives the details on all the parameters. –extended-insert is quicker when updating a DB from a dump file and makes the dump file smaller. –quick makes … Read more