482 B
482 B
matrix-synapse-GDPR
GDPR 100% compilant matrix synapse user data deletion script in Python 3.
Installation
- Clone the repo wherever you want and execute the scripts from the project root path
- Install
psycopg2
either using pip or by package namepython3-psycopg2
- Configure
postgres.conf
to your own needs (see file)
The main script to delete a user is python3 user_delete.py
(see --help)
ALWAYS make a backup of your database before deleting data!!