# cloud_motion **Repository Path**: peace-yang/cloud_motion ## Basic Information - **Project Name**: cloud_motion - **Description**: 通用的磁盘级迁移工具 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-06-08 - **Last Updated**: 2025-10-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cloud-motion 磁盘迁移工具,用于磁盘级别备份、迁移。让磁盘迁移如文件传输般简单。 ## 特性 + 操作简单 + 高性能分片传输 + 配置简单,命令行美观 + 支持压缩、加密、断点续传、资源占用实时显示等高级特性 ## 命令行 ``` [root@ali-master agent]# ./agent -h A linux migration tool for disk roaming. Usage: cloud-motion [flags] cloud-motion [command] Available Commands: help Help about any command inspect Inspect local system replicate Replicate disk to remote host validate Validate target info version Print the version number of CloudMotion ``` ## 使用方法 #### 目标端启动 ```plain cd target/ && go build ``` ![Target](examples/target.png) #### 启动客户端 ```plain cd agent/ && go build ``` ![Agent-Replicating](examples/agent-replicating.png) ![Agent-Replicated](examples/agent-replicated.png) ## 内存占用 2核2G内存的阿里云虚拟机测试上,默认配置,4MB分片,4个工作协程
CPU+40%, 进程内存占用峰值220+MB左右 ## 外部引用 - github.com/gin-gonic/gin - github.com/go-resty/resty/v2 - github.com/schollz/progressbar/v3 - github.com/shirou/gopsutil/v3 - github.com/spf13/cobra