Skip to content

treebignewbee/mysql_backup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

MySQL Database Backup Script

This script is designed to automate the backup of MySQL databases. It creates a compressed backup of specified databases, retains backups for a specified number of days, and synchronizes the backups to a remote server using rsync.

Recommended Usage: To schedule this script to run automatically at 3:00 AM every day, add the following entry to your crontab:

0 3 * * * /path/to/mysql_backup.sh

Ensure the script has executable permissions: chmod +x /path/to/mysql_backup.sh

About

MySQL Database Backup Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%