Simple Backup Bash Script based on MariaDB.
※Remind this script doesn't supports security options. Becareful your DB Server's backup account ID and PW.
bzip2? gzip? It's your choice. You can simply automatically backup your DB and Web Archives, even upload to backup server with sftp.
If you want to backing up automatically, just add this script to cron.