Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

local backup v2 #20

Closed
wants to merge 41 commits into from
Closed

local backup v2 #20

wants to merge 41 commits into from

Conversation

p1gp1g
Copy link
Member

@p1gp1g p1gp1g commented Sep 8, 2024

The idea is to use the backup v2 mechanism in a folder so any cloud management can sync this folder, and they won't have to send the same attachments over and over.

The message archive have to be overridden, and will override the remote one too. They probably do the message archive server side, I've not yet checked. There is a function to upload the message archive (org.thoughtcrime.securesms.backup.v2.BackupRepository#uploadBackupFile) but this is only used in the internal playground. This could still be run from time to time (like the current backup - v1)

If the user use Signal/Backups for their backups we can do:
Signal/Backups/v2/messages.bak
Signal/Backups/v2/m/aa/aaarandom // Which is one encrypted attachment
Signal/Backups/v2/m/ba/baarandom // another encrypted

The next backup will have to send
Signal/Backups/v2/messages.bak // Which is overridden
Signal/Backups/v2/m/az/azxrandom // new attachment

p1gp1g and others added 30 commits August 16, 2024 15:20
Upstream molly tags
Fix Verify Device
Fix typo in user-facing strings
Use new RemoteMessage constructor
If needed : when switching notification method or when
UnifiedPush status changes.
Always use UnifiedPushRefreshJob to update UP related
component and to register to MollySocket.
on MainActivity. This could occur if the Distributor unregister
Molly or if the distributor has been uninstalled
@p1gp1g
Copy link
Member Author

p1gp1g commented Sep 8, 2024

Another option would be to use signal free tier for the messages and local storage for the medias

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants