GNU Linux Bash – simple backup web root and mysql mariadb database in one go script

# run this crontab -e # run backups at 2:00 0 2 * * * /root/scripts/backup.sh # daily updates at 3:00 0 3 * * * /scripts/update.sh mkdir /root/backups vim /root/scripts/backup.sh #!/bin/bash # what to backup WEBROOT=/var/www/html # where to … Continue reading GNU Linux Bash – simple backup web root and mysql mariadb database in one go script