Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 300 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 300 Bytes

#Basic MySql backup script.

You need to define username, password, database names and directory(where backup needs to taken).

This script will be taking the backup, compressing and will be transferring the backup to another machine.

crontab entry

  • 05 * * * /bin/bash /root/backup.sh > backup.log