mylvmbackup-discuss team mailing list archive
-
mylvmbackup-discuss team
-
Mailing list archive
-
Message #00077
Allow rsnap backup to take rsyncarg configuration
It was not apparent to me for some time that the rsyncarg configuration was
not being passed to rsnap when it was called. I finally realized and was
able to update the code to add the appropriate option. Patch:
--- /home/chris/mylvmbackup-0.13/mylvmbackup 2009-09-05 09:44:23.000000000
-0400
+++ /usr/local/bin/mylvmbackup 2010-02-19 23:47:37.000000000 -0500
@@ -571,6 +571,7 @@
$command .= " $pos_filename";
$command .= " $mycnf_filename" if ($skip_mycnf==0);
$command .= " $destdir/";
+ $command .= " -- $rsyncarg" if $rsyncarg;
return run_command("create rsnap archive", $command);
}