We should give users some guidance on what they need to do to effectively back up and restore a synapse.
Off the top of my head:
definitely interested in this, we're currently doing the things you mention (well, a little more 'verbose' in that I'm pulling /etc/synapse/*)
Absolutely agree, also interesting is discourse's self backup function that simply asks you for your S3 credentials and does everything by itself. That would be perfect. Thanks for the great work.
@richvdh any updates ?
PRs welcome...
I'm about to do this; moving a Synapse installation from a FreeBSD jail to a Linux container (same CPU architecture, so the data should be compatible). The app configuration and logging configuration is already managed by Ansible so that part is easy, as is the NGINX proxy in front of it and the TLS configuration.
That leaves the database, media repository, and any keys for the server itself. Has anyone done this?
this is a very interesting question....
Has anyone done this?
Hey guys, I just moved my synapse instance and everything seems to work including message history and images uploaded in the past.
I transferred:
/etc/synapse/homeserver.yaml and /etc/synapse/log_config.yaml/var/lib/postgresql/etc/synapse/foo.bar.signing.key/var/lib/synapse
Most helpful comment
Hey guys, I just moved my synapse instance and everything seems to work including message history and images uploaded in the past.
I transferred:
/etc/synapse/homeserver.yamland/etc/synapse/log_config.yaml/var/lib/postgresql/etc/synapse/foo.bar.signing.key/var/lib/synapse