Export to GitHub

android-developer-preview - issue #2876

PFTBT﹕ Transport rejected backup of <PACKAGE>


Posted on Aug 1, 2015 by Massive Kangaroo

N5 (preview 2)

I'm testing out the auto-backup feature and following instructions (including VERBOSE logging step) here: https://developer.android.com/preview/backup/index.html#testing

However, when I perform the full backup:

adb shell bmgr fullbackup com.mycompany.myapp

I get a transport error:

4197-4197/? D/AndroidRuntime﹕ >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<< 4197-4197/? D/AndroidRuntime﹕ CheckJNI is OFF 4197-4197/? D/ICU﹕ No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat 4197-4197/? I/Radio-JNI﹕ register_android_hardware_Radio DONE 4197-4197/? D/AndroidRuntime﹕ Calling main entry com.android.commands.bmgr.Bmgr 774-3949/? V/BackupManagerService﹕ Scheduling immediate backup pass 774-774/? V/BackupManagerService﹕ Running a backup pass 774-890/? V/BackupManagerService﹕ Backup requested but nothing pending 4197-4197/? D/AndroidRuntime﹕ Shutting down VM 4197-4210/? I/art﹕ Debugger is no longer active 774-787/? W/ProcessCpuTracker﹕ Skipping unknown process pid 4239 4247-4247/? D/AndroidRuntime﹕ >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<< 4247-4247/? D/AndroidRuntime﹕ CheckJNI is OFF 4247-4247/? D/ICU﹕ No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat 4247-4247/? I/Radio-JNI﹕ register_android_hardware_Radio DONE 4247-4247/? D/AndroidRuntime﹕ Calling main entry com.android.commands.bmgr.Bmgr 774-5808/? D/BackupManagerService﹕ fullTransportBackup() 774-4268/? I/PFTBT﹕ Initiating full-data transport backup of com.mycompany.myapp 1698-28121/? I/GmsBackupTransport﹕ Attempt to do full backup on com.mycompany.myapp 1048-1048/? V/GLSActivity﹕ AuthDelegateWrapperCreated with selected intent: Intent { cmp=com.google.android.gms/.auth.DefaultAuthDelegateService } 1698-28121/? V/GmsBackupTransport﹕ create full backup for : com.mycompany.myapp 774-4268/? I/PFTBT﹕ Transport rejected backup of com.mycompany.myapp, skipping 774-4268/? I/PFTBT﹕ Full backup completed. 774-5808/? D/BackupManagerService﹕ Done with full transport backup. 4247-4247/? D/AndroidRuntime﹕ Shutting down VM 4247-4261/? I/art﹕ Debugger is no longer active

Comment #1

Posted on Aug 1, 2015 by Massive Kangaroo

Probably same as https://code.google.com/p/android-developer-preview/issues/detail?id=2272 but this is confirmed for preview 2 and I noticed the logs are different. For example, mine does not include the error code -1002 (which is the code for transport_rejected).

Also, "adb shell setprop log.tag.BackupXmlParserLogging VERBOSE" doesn't seem to do anything.

Comment #2

Posted on Aug 3, 2015 by Massive Elephant

(No comment was entered for this change.)

Comment #3

Posted on Aug 3, 2015 by Massive Elephant

Hi,

Thank you for reporting this issue.

I tried reproducing this issue, i am seeing following logs.

08-03 16:19:30.147 785 21119 E PFTBT : Error -1002 backing up com.fungamesforfree.colorfy 08-03 16:19:30.147 785 21119 I PFTBT : Transport suggested backoff=0 08-03 16:19:30.147 785 21119 I PFTBT : Transport rejected backup of com.fungamesforfree.colorfy, skipping 08-03 16:19:30.148 785 21119 I PFTBT : Full backup completed.

Hence duplicating this issue to 2272.

Status: Duplicate

Labels:
Type-Defect Release-M