using mysqldump and tar utility. Written by : Emiliano Alcaraz
Created date: June 26, 2019 Tested with : Python 2.7 Script Revision: 1.0
- datetime
- pipes
- humanize
- smtplib
- you can receive emails with the information of the backup.
- Add your database and email credentials.
- The files are compressed in .gz in order to reduce the size.
- We delete old files every five days and keep them updated
- You need to run the script in crontab to make the backup daily.