迁移前环境:
Centos 7 + Seafile + MySQL + Amazon S3 backend
迁移后环境:
一致。
迁移前备份:
1、备份数据库。
Ref:https://manual-cn.seafile.com/maintain/backup_recovery.html
mysqldump -h [mysqlhost] -u[username] -p[password] –opt ccnet-db > /backup/databases/ccnet-db.sql.`date +”%Y-%m-%d-%H-%M-%S”`
mysqldump -h [mysqlhost] -u[username] -p[password] –opt seafile-db > /backup/databases/seafile-db.sql.`date +”%Y-%m-%d-%H-%M-%S”`
mysqldump -h [mysqlhost] -u[username] -p[password] –opt seahub-db > /backup/databases/seahub-db.sql.`date +”%Y-%m-%d-%H-%M-%S”`
2、备份配置文件: 继续阅读Seafile完整环境迁移记录