The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Vulcan::Mrsync - Replicate data via phased rsync

SYNOPSIS

use Vulcan::Mrsync;

my $mrsync = Vulcan::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
);