NAME
MYDan::Util::Mrsync - Replicate data via phased agent
SYNOPSIS
use MYDan::Util::Mrsync;
my $mrsync = MYDan::Util::Mrsync->new
(
src => \@src_hosts,
dst => \@dst_hosts,
sp => $src_path,
dp => $dst_path, ## defaults to sp
);
$mrsync->run
(
timeout => 300, ## default 0, no timeout
retry => 2, ## default 0, no retry
log => $log_handle, ## default \*STDERR
max => $max_in_flight, ## default 2
opt => $rsync_options, ## default -aqz
);