NAME

rsync-retry - Rsync wrapper to retry on transfer errors

VERSION

This document describes version 0.001 of rsync-retry (from Perl distribution App-rsync-retry), released on 2019-03-27.

SYNOPSIS

Use like you would use rsync:

% rsync-retry -Pavz [other options...] <source> <target>

DESCRIPTION

This wrapper runs rsync then check its exit code. If exit code indicates transfer errors (e.g. I/O error, socket error, partial transfers, timeout) it will re-run the rsync.

OPTIONS

--help

Shortcuts: -h, -?.

--version

--retry-times

--retry-delay

ENVIRONMENT

RSYNC_RETRY_RSYNC_CMD

String. Rsync command to use. Defaults to rsynccolor (if available) or rsync otherwise. Can be used to chain several wrappers together.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-rsync-retry.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-rsync-retry.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-rsync-retry

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

rsync.

Some other wrappers for rsync: rsync-retry, rsynccolor.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.