-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Documentation: Migrating user data #2040
Comments
To give you an idea, you can have a look on the Yunohost backup script (at https://github.com/YunoHost-Apps/synapse_ynh/blob/master/scripts/backup) and the Yunohost restore script (at https://github.com/YunoHost-Apps/synapse_ynh/blob/master/scripts/restore) I understood you have mainly to backup and restore Synapse config (at /etc/matrix-synapse/) and Synapse database (at /var/lib/matrix-synapse/ ), set up properly files permission, and allows access to domain certs. Waiting for a proper documentation, have a look on the well described scripts, they are much more knowledgeable than me. |
you'll need to back up and restore the database, media store, and configuration. You can't just move the users to another server without taking the room data, so I think you want documentation on something you can't do? |
@richvdh A bit confused. Why is it not possible to move the room data and in that case what does the YunoHosts backup scripts protect against? |
That's my point. It is possible to move the room data. It's not possible to move the user data without the room data. I thought you were asking for the latter. If you'd like documentation on how to back up and restore a synapse server, that would certainly make sense. Raised as #2046. Can't comment on the yunohost stuff. |
https://github.com/matrix-org/matrix-doc/issues/915 would help a bunch with this. |
You will find a server_transfer script at https://github.com/monochromec/matrix_server_transfer addressing some of the most important issues discussed above. Please read the README.md carefully (including the caveats) in order to avoid disappointment :-). This code is very much beta / a PoC, so any PRs are welcome! |
It would be very helpful if the documentation included instructions on how to migrate the user data (users, passwords, rooms, conversations etc.. ) to another server or in my case migrating from one operating system to another. Maybe it does already but I did not find it.
The text was updated successfully, but these errors were encountered: