NAME
MYDan::Util::Grsync - Replicate data via phased agent
SYNOPSIS
use MYDan::Util::Grsync;
my $grsync = MYDan::Util::Grsync->new
(
src => \@src_hosts,
dst => \@dst_hosts,
sp => $src_path,
dp => $dst_path, ## defaults to sp
);
$grsync->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
);