configpolicy/roles/burp-client
Dustin 87e8ec2ed4 synapse: Back up data using BURP
Most of the Synapse server's state is in its SQLite database.  It also
has a `media_store` directory that needs to be backed up, though.

In order to back up the SQLite database while the server is running, the
database must be in "WAL mode."  By default, Synapse leaves the database
in the default "rollback journal mode," which disallows multiple
processes from accessing the database, even for read-only operations.
To change the journal mode:

```sh
sudo systemctl stop synapse
sudo -u synapse sqlite3 /var/lib/synapse/homeserver.db 'PRAGMA journal_mode=WAL;'
sudo systemctl start synapse
```
2023-05-23 09:52:50 -05:00
..
defaults burp-client: Use burp.p.b name 2020-01-18 12:10:53 -06:00
files synapse: Back up data using BURP 2023-05-23 09:52:50 -05:00
handlers burp-client: Switch from cron to systemd timer 2023-05-23 09:51:07 -05:00
tasks r/burp-client: Support pre/post-restore scripts 2023-05-23 09:52:50 -05:00
templates r/burp: Enable progress counter for ad-hoc runs 2021-12-17 20:19:30 -06:00
vars roles/burp-client: Deploy BURP client 2018-08-08 20:11:46 -05:00