Discourse 论坛备份恢复

##进入容器命令行备份

./launcher enter app
discourse backup
exit

恢复步骤如下:

  1. mkdir -p /var/discourse/shared/standalone/backups/default

  2. ./launcher enter app

  3. 备份文件传至/var/discourse/shared/standalone/backups/default

  4. discourse enable_restore

  5. discourse restore 备份文件.tar.gz

  6. ./launcher rebuild app

原创,转载请注明出处。