android
android copied to clipboard
Automatic backup for Whatsapp
PROBLEM NC does not offer a backup solution out of the box for all Whatsapp data.
Considering new Google policy about Whatsapp backup weight on disk storage, could be very helpful to EXTEND the "automatic backup" feature already implemented for photos & screenshot, ALSO to Whatsapp backup folders (messages and backups) Considering Whtastapp is used by more than 5bilions android users (not counting Ios user...), could be a HIGH interest feature
At present time, from what it seems to me, the proposed preset backup folders regard only Whatsap/Images, Whatsapp/video, .... and NOT the main Whtatsapp directory structure required for a working backup&restore.
SOLUTION IF the function code is similar to the one used for "just" Whatsapp Photos/videos/documents folders, it could be just one more URL to add in the code the *parent Whatsapp Folder, with ALL the backups, messages, data ,…
the main function (extended instant upload) is already in NC nextcloud/android#797
PROPOSAL Maybe a better initial setup could be to preset in NC a "root" Watshapp folder (not the single Imates/videos ones) , to backup the whole thing (daily message backup, AND multimedia &documents attachment.... ) IF this is correct, the action could just be realized in a different preconfigured Whatsapp Folder (ready to be used as a backup solution)
FIX NEEDED I've configured NC to backup /storage/emulated/0/Android/data/com.whatsapp It seems to work except for a annoying "event"..
One more fix could be the syncronization between the phone and the cloud. Each day at 2:00, tWhasup performs a backup, overwriting the eldest backup file (in a round robin idea) The problem arise each morning with NC asking which file to keep, (the local file or the server one ?) An approach could be to have the local file (newest backup) be automatically the one to keep.
What do you think ?
Even more enhanced !!! (augmented backup window):
WA consider to perform ONLY 5 backup files ( WhatsApp/WhatsApp/Databases/msgstore-increment-* ). It could be coded in the server a bash/phyton/PHP script to just copy this files in another directory, renaming them by date and preventing overwriting the eldest ones. Letting the user choose how many backups it wants to save.
@Giuliano69 Want to setup the same and kick google (drive, photos, ...) sometimes in the future.
Have found your thread: https://help.nextcloud.com/t/nc-whatsapp-automatic-backup-easily-some-minor-fix-needed/201942 And another: https://help.nextcloud.com/t/whatsapp-database-backups-on-autoupload-dont-sync-like-the-others/217185
The issues i gathered from those are:
- later one: msgstore-2025-02-03.1.db.crypt14 wont be uploaded
- And yours (also mentioned here) that nextcloud asks to overwrite
Are those issues solved in current versions and does AutoUpload works now? If yes, which settings do you use?
And the final question: If it works, have you ever tried to restore it?