Dump and restore database
Feb 24, 2019
To do a backup (also known as a dump) of a MySQL database:
%mysqldump -u$username -p$password $database > $database.sql
$username - replace with the value of your mysql username (or login)
$password - your database password
$database - replace with the name of your database
$da Continue reading...
Configure a backup routine for both your file system and database on a hosted website
Feb 24, 2019
Question: Why set up a custom backup (dump) routine on my website?
Answer: Web hosting provider commonly run backups, but they may be infrequent and depending on the age, may be stored offsite. If you configure your own backups you can probably restore a file s Continue reading...