迅速かつ完全な転送のためにrsyncを使用してください

迅速かつ完全な転送のためにrsyncを使用してください

高速転送のためにrsyncを使用したいと思います。安全な転送(転送中のファイルデータの圧縮) -z, --compressと各ファイルが完全に転送されたことを確認する方法。

rsync --info=help獲得完了

Use OPT or OPT1 for level 1 output, OPT2 for level 2, etc.; OPT0 silences.

BACKUP     Mention files backed up
COPY       Mention files copied locally on the receiving side
DEL        Mention deletions on the receiving side
FLIST      Mention file-list receiving/sending (levels 1-2)
MISC       Mention miscellaneous information (levels 1-2)
MOUNT      Mention mounts that were found or skipped
NAME       Mention 1) updated file/dir names, 2) unchanged names
PROGRESS   Mention 1) per-file progress or 2) total transfer progress
REMOVE     Mention files removed on the sending side
SKIP       Mention files that are skipped due to options used
STATS      Mention statistics at end of run (levels 1-3)
SYMSAFE    Mention symlinks that are unsafe

ALL        Set all --info options (e.g. all4)
NONE       Silence all --info options (same as all0)
HELP       Output this help message

Options added for each increase in verbose level:
1) COPY,DEL,FLIST,MISC,NAME,STATS,SYMSAFE
2) BACKUP,MISC2,MOUNT,NAME2,REMOVE,SKIP

転送完了後、転送確認を行いたいと思います。可能であれば、転送に失敗したファイルの完全なリストを確認したいと思います。

私の経験によれば、不完全な転送はまれではありません。

ログファイルへの出力はrsyncスキャンして要約するのに十分ですか?

ベストアンサー1

GNUの場合とスイッチをrsync使用して、転送中の各ファイルと進行状況に関する情報を表示します。圧縮の目的は、転送されるデータの量を減らすことですが、圧縮によってさまざまな程度で転送速度が遅くなる可能性があることに注意してください。-v-P-z

詳細についてはを参照してくださいman rsync

おすすめ記事