How to save the information of our Android mobile in Ubuntu

Linux and its distributions are fully compatible with Android and mobiles with this operating system, something that allows us to do important tasks from the terminal of our Ubuntu. Important tasks like making a backup of our mobile data and saving it in a single file in Ubuntu.

It is something simple and for this we only have to have Android Developer mode activated. Once this is activated, we have to follow the following steps:

Backup of our Android mobile

First we have to have Android ADB server installed. To do this, we only have to write the following in the terminal:

sudo apt-get install adb

Once we have installed the ADB server, we have to activate it and put it into operation, for this we have to write the following:

adb start-server

Once we have activated the server, we connect our Android mobile with our Ubuntu computer. On the mobile screen a window will appear asking us whether or not to allow the connection, we click yes and now we return to the Ubuntu terminal.

To back up our data, we will write the following:

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

After a moment, in our Home we will have a file called backup-file.adb that will contain all our information, especially the information related to the configuration of the apps.

Restore the data backup on our mobile

If, on the other hand, we want to do the reverse process, that is, restore the data, we have to connect the mobile phone to our computer and write the following in the terminal:

adb restore backup-file.adb

This will begin the restoration of our data on our mobile. The process will take a few minutes but after that, our data will be on the new mobile or on the newly formatted mobile. This trick and this tool are quite important if we usually install roms on our mobile, we want to buy 4G mobile phones and restore the data we had on it or in case we have a problem, such as a fall or breakage. Although we can always opt for external apps.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Antonio said

    It does not work. apt-get install adb
    Reading package list ... Done
    Creating dependency tree
    Reading the status information ... Done
    E: The adb package could not be located

  2.   Painters Madrid said

    It does not work for me either, it installs but has not been able to find the adb, I do not know why and I tried several times and nothing, I do not know if it will be the fault of the updater I did or it is the installation, no one knows how I can solve it Interested, greetings.

  3.   Alexander said

    Search the appropriate repository. Greetings

  4.   Juan Torres said

    Well, it worked for me but my usb port does not recognize my android samsungj700m 6.0 and now it does not let me start the phone, it appeared CUSTOM BINARY BLOCKED BY FRP LOCK 🙁

  5.   emerson said

    Lately, before putting into practice what the majority of Linux "gurus" propose, I read the comments, and the truth is that this man does not give me any confidence.