Zmanda recovery manager for MySQL (MySQL ZRM) is a backup and recovery manager for MySQL database server. It also provides backup scheduling and reporting features. It supports backup of MySQL databases/tables using various methods (both running on same machine as the MySQL server as well as on a remote machine). From maintainer Giovanni Bechis, thanks!
22 lines
763 B
Plaintext
22 lines
763 B
Plaintext
$OpenBSD: patch-usr_bin_mysql-zrm-backup,v 1.1.1.1 2008/10/17 23:05:41 sthen Exp $
|
|
--- usr/bin/mysql-zrm-backup.orig Mon Oct 13 19:26:13 2008
|
|
+++ usr/bin/mysql-zrm-backup Mon Oct 13 19:26:33 2008
|
|
@@ -38,7 +38,7 @@ use ZRM::MySQL;
|
|
|
|
$SIG{'TERM'} = sub { $abort_flag = 1; };
|
|
|
|
-my $MD5SUM="md5sum";
|
|
+my $MD5SUM="md5";
|
|
my $MAILCMD="mail";
|
|
|
|
#Neither mysqlhotcopy not mysqldump will do a --flush-logs
|
|
@@ -1504,7 +1504,7 @@ sub totalSize()
|
|
$inputs{"synchronous-checksum"} == 1 ){
|
|
my $file = $File::Find::fullname;
|
|
if( -f $file ){
|
|
- my $x = $MD5SUM." -b "."\"$file\"";
|
|
+ my $x = $MD5SUM." -bq "."\"$file\"";
|
|
$x = &execCmdAndGetOutput($x);
|
|
if( !defined $x ){
|
|
&printError( "Could not get md5 checksum\n" );
|