#rsync
Вопрос:
Я изо всех сил пытаюсь понять, какие именно rsync
варианты --update
и --append-verify
что делать.
Делание info rsync
дает
-u, --update
This forces rsync to skip any files which exist on the destina‐
tion and have a modified time that is newer than the source
file. (If an existing destination file has a modification time
equal to the source file’s, it will be updated if the sizes are
different.)
--append-verify
This works just like the --append option, but the existing data
on the receiving side is included in the full-file checksum
verification step, which will cause a file to be resent if the
final verification step fails (rsync uses a normal, non-append‐
ing --inplace transfer for the resend).
Я использую rsync
для рекурсивной передачи каталогов. Бывают моменты, когда
Я должен остановить rsync
передачу и возобновить передачу через несколько часов или дней, не затрагивая уже переданные файлы в пункте назначения.
У меня также есть некоторые файлы, которые возвращают ошибки с помощью rsync, такие как
rsync: read errors mapping "/media/hc1/a1-chaos/amvib/IACL-2017-07-19T00:00:00-2017-07-19T23:59:59.mseed": Input/output error (5)
Я хотел бы повторить попытку передачи этих файлов, также позже, не затрагивая файлы, которые были успешно переданы.