backup/ restore TC52x with adb or other

// Expert user has replied.
F FirstName LastName 1 year 7 months ago
39 1 1

HI,

I Would like to do an entire backup of a TC52x with adb :

 

I used this :

 

adb devices

adb backup -apk -shared -nosystem -all -f backup.adb

adb restore  backup.adb

 

other backup options :

https://gist.github.com/Pulimet/5013acf2cd5b28e55036c82c91bd56d8?permalink_comment_id=3678614

 

 

 

adb backup -apk -all -f backup.ab (backup settings and apps)

adb backup -apk -shared -all -f backup.ab (backup settings, apps and shared storage)

adb backup -apk -nosystem -all -f backup.ab (backup only non-system apps)

 

backup file is ok.

 

But when I try a restore, It seems to work ( take times to be done), but nothing have been restore.

 

I guess it is something like a security around the root user.

 

 

I have 8 identicals TC52x , I wan't to reup a config In a new devices if one of them is destroy.

I asked here in first time : 
https://supportcommunity.zebra.com/s/question/0D56S0000Dn3ASaSQM/backup-restore-tc52x-with-adb-or-other

Please Register or Login to post a reply

1 Replies

S Sean Kennedy

I would suggest to use caution when using ADB BACKUP to backup / restore a device.  The Ability for ADB to backup a device is now in a questionable state - and there are many other newer impacts due to Android 12++ that impact this.

Since Oreo - the security changes that Google has implemented (and Zebra follows since we implement the GMS platform) means that the folders / directories and databases - may indicate that they were backed up via ADB BACKUP - but when you use the ADB RESTORE to put the data back - you may find to your surprise - that this may not have occurred.

And worse yet, ADB BACKUP - really does not provide an effective method to troubleshoot which GMS app may or may not have allowed its data to be backed up or not.

As I mention - this issue really started back in Oreo - so since a large percentage of Zebra Android devices are running Oreo and Higher - the use of ADB BACKUP - now that it is deprecated - is a User AS-IS supported implementation.

Zebra approached this issue in a different manner for Enterprise use-cases - we Provide the "StageNow" technology to pre-load / preconfigure a device that would be fresh from box, and / or returned from Repair. 

CONTACT
Can’t find what you’re looking for?