Skip to content

Dalesjo/mysqlBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

mysqlBackup

Backup script for a remote Mysql/MariaDB server. Stores each database in a separate directory with a single md5 file for verification.

Example

mysqlBackup -d /var/backup/mydb -h 192.168.0.1 -u admin -p mypassword

Return codes

  1. Successfull backup
  2. Missing parameter
  3. Directory does not exist or is not writable.
  4. mysqldump is missing or can not be found in path.
  5. backup directory could not be created

About

Backup of entire mysql.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages