Backup-script for MySQL

Robert AndresenProgramming Leave a Comment

Shell script for backing up MySQL database. I am running this on a Centos 7 DB-server with MariaDB, but should work on most OS and MySQL installations. This is only an example, and the script is without any warranty. Create a .sh file Edit the .sh file The basics Delete old backups in folder: Where +3 is number of days. …