From 5cad88705d0ff738362be14acbd2728ff7335e2a Mon Sep 17 00:00:00 2001 From: Alexey Murz Korepov Date: Sun, 8 Oct 2017 23:35:48 +0300 Subject: [PATCH] Created Synapse database maintenance tools (markdown) --- Synapse-database-maintenance-tools.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Synapse-database-maintenance-tools.md diff --git a/Synapse-database-maintenance-tools.md b/Synapse-database-maintenance-tools.md new file mode 100644 index 0000000..52dfa7e --- /dev/null +++ b/Synapse-database-maintenance-tools.md @@ -0,0 +1,10 @@ +List of userful tools and scripts for maintenance Synapse database: + +## [Purge Remote Media API](https://github.com/matrix-org/synapse/blob/master/docs/admin_api/purge_remote_media.rst) +The purge remote media API allows server admins to purge old cached remote media. + +## [Purge History API](https://github.com/matrix-org/synapse/blob/master/docs/admin_api/purge_history_api.rst) +The purge history API allows server admins to purge historic events from their database, reclaiming disk space. + +## [synapse_janitor.sql](https://github.com/xwiki-labs/synapse_scripts) +Cleans a synapse Postgres database of deleted messages and abandoned rooms.