Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature-Request: Client-side backup #1388

Open
baldo opened this issue Sep 21, 2020 · 6 comments
Open

Feature-Request: Client-side backup #1388

baldo opened this issue Sep 21, 2020 · 6 comments

Comments

@baldo
Copy link

baldo commented Sep 21, 2020

Is your suggestion related to a problem? Please describe.
Our homeserver has crashed pretty badly and recovery is not really possible for all the data. This results in all one-on-one chats, and a lot of group-chats being lost. This is even worse for contacts I only had via Matrix. The problem is having to rely on the homeserver reliably backing up your data.

Describe the solution you'd like
I do full backups of my harddrives on a regular basis. Is there a way to restore chats / contacts from those and perhaps even re-import them into Element? If that's not possible I propose the following feature(s) to give users control over their data / backups:

  1. Backups should only be stored locally (bonus points for encrypted backups). Not talking about cloud backups here.
  2. In-app ability to do a full backup of:
  • All rooms, including messages, room ids and memebers.
  • User ids of my contacts (one-on-one).
  • Posted files / images.
  • Matchings e2ee keys.
  • Profile data / settings.
  • ... (What is missing?)
  1. An option to allow local automatic backups on a regular basis. (Similar to how other apps like e.g. WhatsApp implement this.)
  2. An option to re-import a backup (bonus points for allowing this with a different account).
  3. Having those features not only in web, but also in the mobile clients (bonus points if backups are compatible).

Describe alternatives you've considered

Existing issues related to this one:

Existing tools:

  • matrix-recorder:
    • Requires alot of technical expertise to setup, run and keeping it running.
    • It says it's alpha code and should not be uses for important data.
    • Cannot backup e2ee messages from before the first run.
    • Does not allow backing up profile data / settings.
    • Does not allow restoring / re-importing data.
  • matrix-dl:
    • Quite limited.
    • No documentation.
    • Requires alot of technical expertise to setup, run and have it running regularly.
    • Does not allow backing up profile data / settings.
    • Does not allow restoring / re-importing data.
    • Not sure about e2ee messages.
  • ... (other tools I've missed?)

Additional context
Such features would be a possibility for users to export their data and perhaps even move to other servers. Therefor it would help with GDPR compliance. On the other hand the privacy impact of having full backups being stored on clientside (in the context of GDPR).

@t3chguy
Copy link
Member

t3chguy commented Sep 21, 2020

(Similar to how other apps like e.g. WhatsApp implement this.)

Hopefully that doesn't include uploading it not encrypted to Google Drive :((

@baldo
Copy link
Author

baldo commented Sep 21, 2020

(Similar to how other apps like e.g. WhatsApp implement this.)

Hopefully that doesn't include uploading it not encrypted to Google Drive :((

It's under 3.:

  1. Backups should be stored locally (bonus points for encrypted backups).

@t3chguy
Copy link
Member

t3chguy commented Sep 21, 2020

Right but that 3. seems to want encrypted local backups

@baldo
Copy link
Author

baldo commented Sep 21, 2020

Right but that 3. seems to want encrypted local backups

I have reordered the list and adjusted the wording to make it clearer...

@hex-m
Copy link

hex-m commented May 12, 2021

An option to re-import a backup (bonus points for allowing this with a different account)

Something like the account migration script would be much more useful if it would be able to import room history and e2ee keys. When looking at this from the migration side it is related to element-hq/element-web#12577 and https://github.com/matrix-org/matrix-doc/issues/915.

@SimonBrandner
Copy link

Something like the account migration script would be much more useful if it would be able to import room history and e2ee keys. When

It actually probably should do that right now - the keys are shared with new users in a room if everything is configured correctly (see #5763)

@t3chguy t3chguy transferred this issue from element-hq/element-web Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants