I have a non-gmail account with a cache of messages in my android gmail app. How can I make a backup of the emails and attachments? Accessing the mail server to make a backup is not possible. I tried the method in the answer here: Backup gmail emails offline However, the backup file is too small to realistically contain the emails and attachments. It's only coming out 549 bytes, even with trying a few different adb backup options.
Asked
Active
Viewed 987 times
1
1 Answers
0
You can copy these files and directories and paste into new device:
- /data/data/com.google.android.gm: for Gmail cache
- /data/system_de/0/accounts_de.db and /data/system_ce/0/accounts_ce.db: for Gmail accounts and some google authentication info
maybe this method solves your problem

Mohammad
- 1
- 1
android:allowBackup="true"
therefore app backup via adb should be possible. Try to backup a different app to test ifadb backup
works at all on your device. – Robert Apr 09 '20 at 14:30