This commit is contained in:
2025-03-22 10:25:09 +08:00
parent ae96cb97d2
commit e588f2d094

9
doc/迁移服务器.md Normal file
View File

@@ -0,0 +1,9 @@
1. 调整代码,编译。
2. 将系统上传到新机。不要 rebuild。
3. 如果原机数据比较多,则先传输一个快照过去。
4. 将原机停机,修改 dns。
5. 传输原机的数据到新机,但不要替换子卷。
6. 替换 initrd ssh keyrebuild。
7. 替换子卷。
8. 替换 luks 密钥。
9. 重启。