Readme
adbackup
backup tool for android written in rust which can either be used as a module or as a cli-tool
adbackup uses something similar to the
auto backup mechanism of android. Normally, if
enabled, this mechanism is used to backup the android system into the Google cloud. With adbackup it is possible to create backups of folders, apps or the complete system.
Setup
This version of adbackup needs some initialisation work to be done before it can be used: Install adbackup & adb , add adb to the
environment path and enable debug mode on the android device.
Computer
adbackup is using the android debug bridge (adb) to
communicate with android devices. Before using adbackup
install adb from the official
android developer site
Now add adb to your environment variable
(tutorial )
Download and install adbackup
The computer is ready to work with adbackup . To check if everything is well configured, type adbackup devices .
Android device
To bring the android device into a state in which adbackup can be used, enable the debug mode:
Go to
Settings
About phone
Press the Build number five times
Go back and select the new Developer options menu
Activate the developer options at the top of the screen and enable Android debugging in the list below
If the device is connected to the computer adbackup devices should now list this device. Make sure to disable the debugging mode after you are done using adbackup to minimize the risk of your device being compromised.
Limitations
Every app developer can specify whether it is possible to backup their app in general, just parts of it or not at all, here you can
read more about this topic. Because of this android feature there might be some apps which will not be included into backups generated by the android operating system. Sadly, right now there exists no better way to do android backups without rooting the device first.