Conversations icon indicating copy to clipboard operation
Conversations copied to clipboard

Feature Request: automatic cyclic backups

Open aslmx opened this issue 5 years ago • 14 comments

Today my Lineage device crashed again due to some app that uses to crash... However, in the process - it crashed while i was using conversations - it seems that the conversations data got corrupted. This happened before. I don't know how to reproduce and this is not about that issue in particular.

When reopening conversations after reboot, all settings and accounts were gone. I can set it up quickly and i usually don't mind the history so much, but still... annoying.

I had a conversations backup from March... 6 Months ago.

I know, i know... "no backup - no pity"... But i wished that conversations would have an option that makes a nightly backup or so without the need to do it manually.

As far as i know, WhatsApp even keeps 7 days worth of daily backups - i don't use it, so i don't know how it really works with WA.

Is that something that would be useful? Is it feasible to implement? I don't need to many options. Maybe a checkbox "create daily" backups. Or an option "daily backups / weekly backups".

Backups are best automated...

Thanks for considering!

aslmx avatar Sep 04 '19 17:09 aslmx

I totally agree, fully automated backups are the best. On my device WhatsApp creates daily backups and keeps them for the last 9 days, but for me any number greater than 2 would be ok.

brandsimon avatar Jan 05 '20 18:01 brandsimon

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 01 '20 06:05 stale[bot]

Pretty please? :)

licaon-kter avatar May 01 '20 15:05 licaon-kter

I realized today i can have borg backup running on android. If it would include an automated conversation backup, i would never have any(major) data loss again...

Please consider it :)

aslmx avatar May 09 '20 16:05 aslmx

seems like plugin potential... for use with AWS S3 or Blackblaze B2 and of course local encryption

underhandedness avatar Dec 22 '20 10:12 underhandedness

The way I do this with Signal is I point the backup folder for Folder Sync to later sync those backups to an external storage. So backups are fully automatic without any need for manual intervention - the only way a backup shall work :).

ostaszewskik avatar Jun 12 '21 08:06 ostaszewskik

Bump?

I did update Conversations today via Fdroid and again my profile is gone. Seems (to me) like some database migrations Bork the database. After the update Conversations froze, was force quit and then started like a fresh install. Of course forget to do a backup before the upgrade :( (Funny it is almost exactly two years after I posted this ;))

aslmx avatar Sep 20 '21 17:09 aslmx

@aslmx which Lineage version? Which device? There was no "wait" option, just "close"?

Ref. https://github.com/iNPUTmice/Conversations/issues/4170

licaon-kter avatar Sep 20 '21 17:09 licaon-kter

@licaon-kter

which Lineage version? Which device? There was no "wait" option, just "close"?

as the s9 is not actively maintained, it's rather oldish 15.1 But the trigger this time was not the crash that i had described in my initial post 2 years ago, but rather the update of Conversations via f-droid to the most recent version. I can't really remember how exactly Conversations crashed. It hang for a few seconds, the green C logo was shown on a grey background (I was already assuming a re-design). Then the ANR came and i can't really remember if there was actually close or wait to chose... For the feature request it does not really matter.. what matters is, that it would be useful to always have a recent backup, which you do not need to take care of manually - because manual backups are (usually) never done ;)

aslmx avatar Sep 21 '21 07:09 aslmx

As there's still no automatic backup it's at least not that fatal that the backup location recently got changed without notice. (yes, that's sarkasm)

The previous backup location on my device was ~/Conversations/Backup and now it is ~/Download/Conversations/Backup, changed on an existing and working installation, without any notice. The automatic upload to my cloud storage failed, of course. And I realized the failing backup upload purely accidental.

hede5562 avatar Aug 27 '22 06:08 hede5562

These are changes as Google restrictions force developers to not use random folder but only internal data (you can't backup that without root) or well established folders like Pictures/Download/etc.

licaon-kter avatar Aug 27 '22 07:08 licaon-kter

3 years ago, since I raised this Feature Request.

Currently my "workflow" is, that I have a weekly reoccurring event in my calendar that reminds me to start the backup.

I'd really appreciate some news here :) Is this something which would be on the list of features for the future?

aslmx avatar Oct 28 '22 05:10 aslmx

Just wanted to chime in and say I would love automatic nightly backups with one or two past backups retained, so you'd have 2-3 daily backups (with date in filename) just in case you deleted something yesterday and decided you wanted it back or today's backup was corrupted for some strange reason and you needed to resort to yesterday's. I don't know if you'd want to make the number of backups to be retained user-configurable, or if simply choosing a number like 2 or 3 would be sufficient.

But even having a single automatic daily backup would be super helpful. I could always use Syncthing's versioning to keep a few old copies on my home backup server.

gnafuthegreat avatar Feb 02 '23 03:02 gnafuthegreat

As Conversations is the only app left on my phone with data I care about that doesn't have automatic backups, I had a go at implementing it -- I've opened PR #41 on Codeberg with the changes.

Terrance avatar Apr 19 '23 18:04 Terrance