Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android BackupManager Full data backup does not have consent

I was testing auto backup using bmgr and couldn't get it to work.

I've got allowBackup="true" in the manifest and of course it's enabled on the device.

Does anyone know what INELIGIBLE_DOLLY_CONSENT is?

09-12 19:16:27.163 783-11562/? I/PFTBT: Initiating full-data transport backup of com.xxxxxxxxx.xxxxx
09-12 19:16:27.166 1371-1640/? I/Backup: [GmsBackupTransport] Attempt to do full backup on com.xxxxxxxxx.xxxxx
09-12 19:16:27.173 1371-1640/? W/Backup: [EligibilityFilter] Rejecting backup of com.com.xxxxxxxxx.xxxxx. Full data backup does not have consent
09-12 19:16:27.173 1371-1640/? W/Backup: [GmsBackupTransport] Rejecting package com.xxxxxxxxx.xxxxx for full backup because ineligible (INELIGIBLE_DOLLY_CONSENT).
09-12 19:16:27.175 783-11562/? I/PFTBT: Transport rejected backup of com.xxxxxxxxx.xxxxx, skipping
09-12 19:16:27.175 783-11562/? I/PFTBT: Full backup completed.
like image 724
Kenny Avatar asked Sep 12 '17 18:09

Kenny


People also ask

Where is Android backup data stored?

Backup data is stored in a private folder in the user's Google Drive account, limited to 25MB per app. The saved data does not count towards the user's personal Google Drive quota. Only the most recent backup is stored. When a backup is made, the previous backup (if one exists) is deleted.

Does Android automatically backup?

You can set up your phone to automatically back up your files. Open your phone's Settings app. Backup. Optional: If this is your first time, turn on Backup by Google One and follow the on-screen instructions.

How do Android users backup their data?

Backup options. Android provides two ways for apps to back up their data to the cloud: Auto backup for apps and Key/Value Backup. Auto Backup, which is available on Android version 6.0 and higher, preserves data by uploading it to the user's Google Drive account.


2 Answers

Had the same problem (Transport rejected package because it wasn't able to process it at the time when executing adb shell bmgr backupnow com.myapp and INELIGIBLE_DOLLY_CONSENT in logcat).

Solved it just by disabling and re-enabling backup in the phone settings.

like image 166
Olivier Payen Avatar answered Oct 11 '22 08:10

Olivier Payen


I got it to work after re-adding my Google account:

  1. Go to Settings and choose Accounts;
  2. Tap on the Google account;
  3. Click on the three dots icon;
  4. Tap on Remove Account.

After that, click on Add Account to add your Google account back.

like image 42
brunobastosg Avatar answered Oct 11 '22 08:10

brunobastosg