Comments (2)
Here a first workaround ... guess: tar would also work with this method, but due to the visible error I've choosen the adb method
Simple workaround
---
backup.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- backup.sh
+++ backup.sh 2022-12-25 14:10:06.041313595 +0000
@@ -74,7 +74,7 @@ function get_file() {
if [ "$export_method" = 'tar' ]; then
adb exec-out "tar -c -C $1 $2 2> /dev/null" | pv -p --timer --rate --bytes | tar -C $3 -xf -
else # we're falling back to adb pull if the variable is empty/unset
- adb pull $1/$2 $3
+ adb pull $1/$2 $3 || echo "Can not backup $2 ignoring it" 1>&2
fi
}
@@ -221,7 +221,7 @@ then
# apk_path=/data/app/~~4wyPu0QoTM3AByZS==/com.whatsapp-iaTC9-W1lyR1FxO==/base.apk
# apk_base=47856542.apk
get_file $(dirname $apk_path) $(basename $apk_path) ./backup-tmp/Apps
- mv ./backup-tmp/Apps/$(basename $apk_path) ./backup-tmp/Apps/$apk_base
+ mv ./backup-tmp/Apps/$(basename $apk_path) ./backup-tmp/Apps/$apk_base || echo "Not found $(basename $apk_path)" 1>&2
)
done
from open-android-backup.
I'll consider adding this workaround.
from open-android-backup.
Related Issues (20)
- get_text_input prompt result_var HOT 7
- Samsung Galaxy A40 needs 'USB Debugging' developer option
- Foreground color isn't reset HOT 3
- avoid overlong lines in output to stdout
- Loading subscripts is suboptimal
- Backup stalled HOT 3
- Error with call_log export HOT 3
- [Question] Does this backup applications' data too? HOT 13
- [Suggestion] Wifi passwords HOT 2
- nothing happens when run the script HOT 3
- clearly document limitations of backup tool HOT 6
- Out Of Memory when creating archive HOT 2
- Usability problem: backup.sh assumes cwd has bulk storage space available HOT 1
- Feature request: check for required apps before starting a backup HOT 1
- Install on windows HOT 4
- [Feature request] Allow user to exclude arbitrary directories from backup
- cannot specify device HOT 1
- Using OAB from Custom Recovery (question) HOT 1
- Erase not optional. HOT 3
- Where backups are saving? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-android-backup.