Skip to content
Snippets Groups Projects
Unverified Commit b15f0758 authored by ZAID BIN TARIQ's avatar ZAID BIN TARIQ Committed by GitHub
Browse files

Document the export user data command. (#14883)

parent 4607be0b
No related branches found
No related tags found
No related merge requests found
Document the export user data command. Contributed by @thezaidbintariq.
\ No newline at end of file
...@@ -32,6 +32,14 @@ What users are registered on my server? ...@@ -32,6 +32,14 @@ What users are registered on my server?
SELECT NAME from users; SELECT NAME from users;
``` ```
How can I export user data?
---
Synapse includes a Python command to export data for a specific user. It takes the homeserver
configuration file and the full Matrix ID of the user to export:
```console
python -m synapse.app.admin_cmd -c <config_file> export-data <user_id>
```
Manually resetting passwords Manually resetting passwords
--- ---
Users can reset their password through their client. Alternatively, a server admin Users can reset their password through their client. Alternatively, a server admin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment