Backup n restore android phone on linux.



  • Hello there,

    I got to reset my android phone for some reason.

    And there was no Mobile suite for Huawei on linux, so I took the backup for Android on Linux (Centos7) with command adb and the backup size was about 172MB. Though I backed up the images/vids/other things manually and this adb backup was just formality.

    Not sure what adb has backed up. Now my requirement is to get back one application as it is, if possible, is that restore adb is helpful ?

    I have tried to restore by command "adb restore" but not seeing any difference on mobile.

    Just wondering what backup it meant for and is there any way to get back that specific app ?

    Thanks !!



  • Here is a brief howto (for windows but same functionality) use adb backup, without knowing what you specifically did it would be difficult for any of us to know what you backed up.



  • @DustinB3403 said in Backup n restore android phone on linux.:

    Here is a brief howto (for windows but same functionality) use adb backup, without knowing what you specifically did it would be difficult for any of us to know what you backed up.

    I did same like in article but from CentOS not Windows.

    My question is, what does it backup with "full backup" ? apps or settings or data (pics/vids) ?

    And when I restored, I am not seeing any difference on my Android phone, what may be the wrong ?

    Thanks



  • What adb command did you run exactly?



  • @DustinB3403 said in Backup n restore android phone on linux.:

    What adb command did you run exactly?

    To Backup : ( before resetting phone)
    adb backup -f SH25TW500611-phone-backup.adb -apk -all

    Restore : (After reset)

    adb restore SH25TW500611-phone-backup.adb



  • What Android version is your phone running? If lollipop there is an apparent bug in ADB.


Log in to reply