本文档只是为了留档方便以后工作运维,或者给同事分享文档内容比较简陋命令也不是特别全,不适合小白观看,如有不懂可以私信,上班期间都是在得
1.安装Rclone
2.安装后查找配置文件地址
rclone config file
3.配置文件
[minio]
type = s3
provider = Minio
env_auth = false
access_key_id = xhao
secret_access_key = xhao
region = cn-east-1
endpoint = https://10.12.13.14:9001
location_constraint =
server_side_encryption =
[minio1]
type = s3
provider = Minio
env_auth = false
access_key_id = xhao
secret_access_key = xhao
region = cn-east-1
endpoint = http://10.12.12.200:9000
location_constraint =
server_side_encryption =
3.校验配置
rclone config show
4.文件迁移
rclone --no-check-certificate \
-P copy \
minio:file/template \
/home/factoryBuilding/template
--no-check-certificate //跳过https校验
-P //显示迁移信息
copy //增量同步
minio:file/template //桶+文件夹路径
/home/factoryBuilding/template //最终复制到哪里
如果点赞多,评论多会更新详细教程,待补充。