Skip to content

Instantly share code, notes, and snippets.

@xfcclw
xfcclw / hermes-migrate-oss.sh
Created May 22, 2026 15:47
Hermes Agent 迁移工具(OSS/S3 中转版)
#!/bin/bash
#
# Hermes Agent 服务器迁移脚本(OSS/S3 中转版)
# 用法: bash hermes-migrate-oss.sh [选项]
#
# 支持: 阿里云 OSS / AWS S3 / 兼容 S3 的对象存储
#
# 选项:
# --old-ip 旧服务器 IP(用于 SSH 执行,可选)
# --new-ip 新服务器 IP(用于 SSH 执行,可选)