Skip to content

Commit

Permalink
v2020.8.28-beta (202008280)
Browse files Browse the repository at this point in the history
Fixed compressed/encrypted export issues.
  • Loading branch information
VR-25 committed Aug 28, 2020
1 parent 7479058 commit 7371dea
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 29 deletions.
25 changes: 6 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ The binary can simply be placed in `/data/adb/bin/`.
## CHANGELOG

```
v2020.8.28-beta (202008280)
Fixed compressed/encrypted export issues.
v2020.8.27-beta.1 (202008271)
Fixed restore "data_de only" not working (Android keyboard (AOSP) was affected).
Expand All @@ -33,24 +38,6 @@ Export backups to $base_dir/migrator_exported/ to prevent accidental data loss w
Filter out packages already backed up ("M -bn" or "M -b --new").
Misc safety patches
v2020.8.26-beta (202008260)
A comma can be used in place of "|" for regex alternation (e.g., "M -b faceb,instag,whatsa").
Added tips on using rsync in auto-backup config to sync backups over an ssh tunnel.
Read package names from list, with regex support (e.g., "M -b /path/to/file", "M -b --" (for /sdcard/Download/migrator/packages.list)).
Remove backups of uninstalled apps from export directory as well.
Don't overwrite the log file if its size is less than 2M.
Performance enhancements
Skip unistalled packages from <list>".
Unlike -rE, -bE now implies D too.
Updated documentation.
Updated bundled terminal (Magisk variant).
```

---
Expand All @@ -77,7 +64,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
## --help

```
Migrator v2020.8.27-beta.1 (202008271)
Migrator v2020.8.28-beta (202008280)
A Backup Solution and Data Migration Utility for Android
Copyright 2018-2020, VR25
License: GPLv3+
Expand Down
9 changes: 5 additions & 4 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
find and bundle static ccrypt binaries
gms "can't read media"?
direct export (no hard links)
wizard
Find and bundle static ccrypt binaries
GMS "can't read media"?
Direct export (no hard links)
Wizard
Some /data/adb/ symlinks (e.g., /data/adb/acc) are not backed uo or restored
8 changes: 4 additions & 4 deletions migrator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bkp_dir=/data/migrator/local
packages=/data/system/packages
data_dir=/sdcard/Download/migrator
imports_dir=${bkp_dir%/*}/imported
version="v2020.8.27-beta.1 (202008271)"
version="v2020.8.28-beta (202008280)"
ssaid_xml_tmp=/dev/.settings_ssaid.xml.tmp
settings=/data/system/users/0/settings_
ssaid_xml=${settings}ssaid.xml
Expand Down Expand Up @@ -450,9 +450,9 @@ case "$param1" in
set +x
ls -1 $dir 2>/dev/null \
| grep -Ev '^_magisk\.|^migrator.sh$|^_settings\.|^_sysdata\.' | \
while IFS= read -r pkg; do
t -d $bkp_dir/${pkg%.*} || rm $dir/$pkg
done
while IFS= read -r bkp; do
t -d $bkp_dir/${bkp%.tar*} || rm $dir/$bkp
done
;;


Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=migrator
name=Migrator
version=v2020.8.27-beta.1
versionCode=202008271
version=v2020.8.28-beta
versionCode=202008280
author=VR25
description=Migrator is a backup solution and data migration utility for Android. It can backup/restore apps (including split APKs and SSAIDs) with respective data and runtime permissions, Magisk data and generic Android settings. ZERO warranties, use at your own risk! This is still in beta. Backup your data before using. Refer to README.md on GitHub, "migrator --help" or "M -h". If executables are unavailable before a reboot, use "/dev/migrator" or "/dev/M".

0 comments on commit 7371dea

Please sign in to comment.