Difference between revisions of "MySQL Backup"

From Free Software Directory
Jump to: navigation, search
m (trying to fix version download link)
m (trying to fix version download link)
Line 10: Line 10:
 
|Version date=2015/03/12
 
|Version date=2015/03/12
 
|Version status=stable
 
|Version status=stable
|Version download="http://worldcommunitypress.com/opensource_files/mysql_backup_script_3_7.zip"
+
|Version download=http://worldcommunitypress.com/opensource%5Ffiles/mysql_backup_script_3_7.zip
 
|Last review by=Dan Munro
 
|Last review by=Dan Munro
 
|Last review date=2017/11/16
 
|Last review date=2017/11/16

Revision as of 12:05, 16 November 2017


[edit]

MySQL Backup

http://worldcommunitypress.com/services/free-opensource-software/
Backs up databases

MySQL Backup is a Perl script that uses mysqlshow to grab the database names and "show tables" to grab the table names for a user's account, and then uses mysqldump to save the data in a subdirectory named in the script. It then tars and gzips the files, using the date and time for the file name. It can be run from cron on a daily basis. It removes old files and has an option to email the gzip file to an admin and/or FTP the backup file to a remote server. It also has options to use "select data into outfile" or a regular "select" for users who can't use mysqldump. It supports LARGE sets of databases and tables (GNU/Linux utilities such as tar, ls and nice break when the argument list gets too long). To do this, the script places all the sql text files in a subdirectory and tars the directory. For security, if a .my.cnf file is used then mysqlshow and mysqldump run without the --user and --password parameters, so the password doesn't display in the process list.





Licensing

License

Verified by

Verified on

Notes

Verified by

Dan Munro

Verified on

16 November 2017




Leaders and contributors

Contact(s)Role
Peter F. Brown Maintainer


Resources and communication

AudienceResource typeURI
Bug Tracking,Developer,SupportE-mailmailto:peterbrown@worldcommunity.com


Software prerequisites

KindDescription
Required to useMySQL




Entry




















Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.