Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Document the export user data command. (#14883)
Browse files Browse the repository at this point in the history
  • Loading branch information
thezaidbintariq authored Jan 25, 2023
1 parent 4607be0 commit b15f075
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/14883.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document the export user data command. Contributed by @thezaidbintariq.
8 changes: 8 additions & 0 deletions docs/usage/administration/admin_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ What users are registered on my server?
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
---
Users can reset their password through their client. Alternatively, a server admin
Expand Down

0 comments on commit b15f075

Please sign in to comment.