mirror of
https://github.com/B16f00t/whapa.git
synced 2026-04-25 10:55:56 +03:00
[GH-ISSUE #3] Whagodri: previous backups not visible #2
Labels
No labels
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whapa#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kaefert on GitHub (Jun 1, 2018).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/3
Hi there!
Sadly my girlfriend managed to overwrite her 1GB big WhatsApp backup of a few years in her Google Drive Account with a new backup of the last few days. It seems that Android Oreo causes the WhatsApp Backup Restore function too malfunction badly, only allowing users (that don't read the screen too much before clicking buttons...) to setup a new backup into Google Drive without restoring the old one.
Now her Google Drive Account still shows "Hidden app data: 1 GB" under https://drive.google.com -> Settings -> Manage Apps -> WhatsApp Messenger
So I had hoped that the data still is stored somewhere, which is why I tried to get your whagodri.py script running, but sadly, I can only see the tiny new backup:
Can you help me? Do you know of any way that might enable me to find the overwritten backup in there?
@B16f00t commented on GitHub (Jun 1, 2018):
Can you show the result with -i flag?
@kaefert commented on GitHub (Jun 1, 2018):
@B16f00t commented on GitHub (Jun 1, 2018):
I'm seeing a flaw to parse the google drive account, I would have to do some change and try again, when It's ready, I'll get in touch
@kaefert commented on GitHub (Jun 1, 2018):
okey, thanks! :)
@kaefert commented on GitHub (Jun 1, 2018):
I commented out the two lines for printing 'conversation_sound' and 'security_notifications' in the whagodri.py file.
Now this is my full output with no errors given:
I've uncomented the line
print data_jsonwhich gives this:
{u'backupVersion': 1, u'includeVideosInBackup': True, u'numOfMessages': 80, u'numOfPhotos': 1, u'backupFrequency': 1, u'chatdbSize': 52793, u'backupNetworkSettings': 0, u'videoSize': 0, u'mediaSize': 105391, u'backupSize': 158184, u'numOfMediaFiles': 1, u'localSettings': {u'input_enter_send': False, u'interface_font_size': u'0', u'settings_language': u'0', u'voip_low_data_usage': False}}@B16f00t commented on GitHub (Jun 2, 2018):
As it shows there you only have one accessible copy with that phone number, username and password
@kaefert commented on GitHub (Jun 2, 2018):
:(

yes that's what I was afraid of.
I wonder why Google Drive is still showing me that it has 1GB of hidden app data stored for WhatsApp then...
@B16f00t commented on GitHub (Jun 2, 2018):
I'm sorry but I don't know the answer, try to contact google, and request such a backup, I will continue to research it.
Are you sure it's the same account? the new backup should appear and put its size
@kaefert commented on GitHub (Jun 2, 2018):
yes, it's the same account. maybe the display of the size is delayed by a few days..
I did contact google through the drive app feedback feature as suggested at a few places in the google drive forums when people asked the same question.
If and when I get a response by them I will post about it here.
Thank you very much for your help!
@B16f00t commented on GitHub (Jun 2, 2018):
Ok thanks.
It could also be that there is an index containing the backup files and that index has been corrupted, but the files are still in the cloud.
@kaefert commented on GitHub (Jun 2, 2018):
Yes. Maybe the index has been overwritten by setting up a new backup for the same number without restoring the old backup first.
The big question is how to access those files missing their intact index now.
UPDATE:
Okey. So I had a long chat session with Google Drive Support. They say there is no way for Google Support to access that data, and their tool for restoring deleted data didn't help. I also asked if I can pay for more in depth support but they declined.
They say only WhatsApp can access and manipulate that data and it might be possible that the 1GB display might simply be delayed, although it's also possible that the data is still there somewhere and just inaccessible at the moment because WhatsApp is not supporting the recovery of previous backups. (as they've published here: https://faq.whatsapp.com/en/android/20887921 )
@kaefert commented on GitHub (Jun 10, 2018):
Okey, so:
I think it was just one single "bad" backup that has been written to Google Drive @ 2018-06-01 02:26 (probably WhatsApp displays this time in my local time zone, that would be CEST).
I've disabled the automatic Google Drive backup check in WhatsApp on that phone in the evening of 2018-06-01, so no new backups have been written to Google Drive since then. (I instead setup an auto-upload to my Nextcloud to backup the new data, which includes a feature to get back previous versions should problems like these ever arise again in the future..)
The last "good" backup should have been written to Google Drive @ 2018-05-30 ~02:30 CEST, or maybe one day before. On 2018-05-31 ~02:00 the phone was already reinstalled with a new OS but WhatsApp hadn't been installed yet.
The Google Drive Account still shows "Hidden app data: 1 GB" under https://drive.google.com -> Settings -> Manage Apps -> WhatsApp Messenger. Since this data has been "overwritten" more than 9 days ago, I do not believe that it has truly been deleted, but still at least partly exists in that Google Drive storage account somewhere. (Since the one new "bad" backup made has a size of just 150kb.)
The big question now is how to get access to that data. Can you help?