进入容器命令行备份
./launcher enter app
discourse backup
exit
恢复步骤如下:
mkdir -p /var/discourse/shared/standalone/backups/default
./launcher enter app
- 备份文件传至
/var/discourse/shared/standalone/backups/default
discourse enable_restore
discourse restore 备份文件.tar.gz
./launcher rebuild app
原创,转载请注明出处。