minio同步磁盘文件
- 下载安装rclone
curl https://rclone.org/install.sh | sudo bash
- 新建rclone.conf
vim /root/.config/rclone/rclone.conf
- 在rclone.conf写入以下内容
[minio]
type = s3
provider = Minio
env_auth = false
access_key_id = suxia
secret_access_key = suxia@2020
region = cn-east-1
endpoint = http://192.168.10.100:9180
location_constraint =
server_side_encryption =
[minio1]
type = s3
provider = Minio
env_auth = false
access_key_id = suxia
secret_access_key = suxia@2020
region = cn-east-1
endpoint = http://192.168.10.200:9180
location_constraint =
server_side_encryption =
- 执行同步指令
rclone sync minio:suxia minio1:suxia