Backing up and restoring a Synapse homeserver
What to back up, how often and how to prove a restore works: config, signing key, PostgreSQL and media, the caches you can skip and the restore steps that keep encryption working.

Running a Synapse homeserver day to day: backups and restores, monitoring, database growth, media cleanup, slow rooms, federation problems and database locale errors.
What to back up, how often and how to prove a restore works: config, signing key, PostgreSQL and media, the caches you can skip and the restore steps that keep encryption working.
Backing up and restoring an ESS Community deployment: scaling Synapse and MAS down, dumping PostgreSQL, saving values, secrets and the media volume, and the restore order.
Turning on Synapse metrics, scraping the main process and every worker, importing the official dashboard and the alerts that catch federation, database and sync problems early.
Using synapse_auto_compressor to cut state_groups_state growth on PostgreSQL: scheduling runs, resource needs, what to expect from large or backfilled rooms and backing up first.
Removing old room history with the purge history API or retention jobs, why disk usage does not drop on its own and how to plan VACUUM FULL around downtime.
Controlling media store growth by purging cached remote media and unused local media after a set time, and the user expectations to agree before deleting uploads.
Recognizing rooms that slow the whole server because of too many forward extremities, inspecting them with the rooms admin API and why deletion should stay a manual decision.
Finding why other servers cannot reach yours: well-known files, port 8448 versus 443, certificates, reverse proxy paths and outbound federation workers.
Resolving the startup error Synapse raises for a database with the wrong COLLATE or CTYPE: dump and recreate, the risks of changing locale in place, and checking new clusters before migration.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.