Skip to content

Batch script using android native data backup and restore feature.

Notifications You must be signed in to change notification settings

KelvinCrag/backupconfirm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

backupconfirm

DISCLAIMER: Google warns that ADB backup and restore may be removed in a future Android release.

Summary

This script uses a system app called com.android.backupconfirm to backup and restore your stored data at a time convenient for you.

Features

  • Lightweight simple script. Concise and optimised.
  • Ability to backup and restore data without installing an app or the use of internet.
  • Improved screen feedback on what is happening currently.
  • noob-friendly

How to use it

  • Enable Developer Options on your smartphone.
  • Turn on USB Debugging from the Developer Options.

LINUX
  • Install Android platform tools and qpdf on your PC :

Debian Base :

$ sudo apt install android-sdk-platform-tools qpdf

Arch-Linux Base :

$ sudo pacman -S android-tools qpdf

Fedora :

$ sudo yum install android-tools qpdf
  • Use adb backup -apk -shared -all -f <filepath>/backup.ab to backup and adb restore <filepath>/backup.ab to restore.

MAC OS
  • Install Homebrew
  • Install Android platform tools and qpdf
$ brew install android-platform-tools qpdf
  • Use adb backup -apk -shared -all -f <filepath>/backup.ab to backup and adb restore <filepath>/backup.ab to restore.

WINDOWS
 adb devices
  • Go to the release section and download the lastest release.

  • Put .bat in the same folder of installed adb if you don't have adb support everywhere in your PC. By default, it is c:/adb/platform-tools

backupconfirm.bat

About

Batch script using android native data backup and restore feature.

Resources

Stars

Watchers

Forks

Packages

No packages published