Simple script to restore backuped application and data made with OandBackup
This repository has been archived on 2024-09-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
2018-12-12 23:32:47 +01:00
lib First commit 2018-11-08 00:37:08 +01:00
.gitmodules Add message submodule 2018-12-12 22:49:01 +01:00
README.md Update README 2018-12-12 23:32:47 +01:00
restore.sh First commit 2018-11-08 00:37:08 +01:00

Android Oandbackup restore script

A simple bash script to restore application backuped with OandBackup on a rooted Android Phone. This script can restore GPG encrypted backup.

Installation

to use this script, clone the repo :

git clone https://git.epha.se/ephase/oandbackup_restore
cd oandbackup_restore
git submodule init && git submodule update

Usage

$ ./restore.sh [-d] [--dry-run] <folder>
  • -d : display debug messges
  • --dry-run: do nothing, just display actions.

To use this script, you must have a rooted phone with a custom recovery (Tested with TWRP).

  1. Activate develloper mode on your phone
  2. Authorize your PC for debug by running adb and accept the PC on your phone.
  3. launch the script with the folder containing backup as argument
  4. When the script finished to install applications, he will reboot the phone into recovery. When it's done press space.
  5. When it's done, reboot your phone.

Warning

This script is a first working version, tested with my own phone. Use it at your own risk.

Licence

Do what you want and feel free to send me a message or offer me a beer if you come near Bordeaux - France.