Skip to content

A fork and fix of AutoMySQLBackup that has been abandoned by SourceForge

License

Notifications You must be signed in to change notification settings

sancsoft/automysqlbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automysqlbackup

A fork and fix of AutoMySQLBackup for our standard installations.

AutoMySQLBackkup has been modified to support newer versions of MySQL

  • support for MySQL 5.6 and 5.7
  • login path support (no passwords required on the command line)
  • fixed --ssl paramter usage in 5.7+

Modern usage includes the login path support so that credentials are not required on the command line when calling mysqldump (etc).

Installation

Run the install.sh script

Configuration

As root, create the credentials for logging into MySQL

mysql_config_editor set --login-path=automysqldump --user=root -p

The automysqlbackup.conf file is configured to look for the login path "automysqldump" credentials in the ".mylogin.conf" file in folder "/root"

Schedule

Configure using cron or copy and chmod the "runmysqlbackup" command in the /etc/cron.daily folder

Backup Storage

Default backup storage is in location:

/var/backups/db

About

A fork and fix of AutoMySQLBackup that has been abandoned by SourceForge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages