service/forum: document disaster recovery authored by Jérôme Charaoui's avatar Jérôme Charaoui
......@@ -145,6 +145,26 @@ Within the container its possible to restart the Discourse daemon using:
## Disaster recovery
In case the machine is lost, it's possible to restore the forum from backups.
The first step is to install a new machine following the installation steps in
the `Installation` section below.
Once a blank installation is done, restore the Discourse backup directory,
`/srv/discourse/shared/standalone/backups/default`, from Bacula backups.
The restoration process is then:
cd /srv/discourse
./launcher enter app
discourse enable_restore
discourse restore <backupfilename>.tar.gz
exit
Once that's done, rebuild the Discourse app using:
./launcher rebuild app
# Reference
## Installation
......
......