S3:Rclone:非常好用的S3备份、同步工具。

step 0:配置backends

 

step 1:copy、sync、move 操作

我所关心的核心参数:

--buffer-size SizeSuffix In memory buffer size when reading files for each --transfer (default 16Mi)
--checkers int Number of checkers to run in parallel (default 8)
--transfers int Number of file transfers to run in parallel (default 4)

--bwlimit BwTimetable Bandwidth limit in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
--bwlimit-file BwTimetable Bandwidth limit per file in KiB/s, or use suffix B|K|M|G|T|P or a full timetable

--retries int Retry operations this many times if they fail (default 3)
--retries-sleep Duration Interval between retrying operations if they fail, e.g. 500ms, 60s, 5m (0 to disable) (default 0s)

--max-age Duration Only transfer files younger than this in s or suffix ms|s|m|h|d|w|M|y (default off)
--min-age Duration Only transfer files older than this in s or suffix ms|s|m|h|d|w|M|y (default off)
--max-size SizeSuffix Only transfer files smaller than this in KiB or suffix B|K|M|G|T|P (default off)
--min-size SizeSuffix Only transfer files bigger than this in KiB or suffix B|K|M|G|T|P (default off)
--max-depth int If set limits the recursion depth to this (default -1)

--log-file string Log everything to this file
--log-level LogLevel Log level DEBUG|INFO|NOTICE|ERROR (default NOTICE)
--syslog Use Syslog for logging
--syslog-facility string Facility for syslog, e.g. KERN,USER,... (default "DAEMON")
--use-json-log Use json log format

-P, --progress Show progress during transfer
-q, --quiet Print as little stuff as possible
-v, --verbose count Print lots more stuff (repeat for more)
-i, --interactive Enable interactive mode
-n, --dry-run Do a trial run with no permanent changes

 

posted on 2024-07-30 14:26  jinzhenshui  阅读(432)  评论(0)    收藏  举报