Closed farhansadik closed 3 years ago
Restore Actions
/sdcard/termux-backup
/sdcard/termux-backup
and then remove it
[or]/sdcard/termux-backup
and move usr
and home
to termux I got this output:
/sdcard/termux-backup/app.zip
enter file name : app.zip
Archive: app.zip
inflating: F-Droid.apk fchmod (file attributes) error: Operation not permitted
(warning) cannot set modif./access times
Operation not permitted
inflating: com.termux_113-1.apk fchmod (file attributes) error: Operation not permitted
(warning) cannot set modif./access times
Operation not permitted
Press [Enter] key to continue...
But extraction file was ok.
Yes it worked fine! even package are working now!! without installing
Backup
cd /data/data/com.termux/files
tar -cvzf /sdcard/Download/termux.tgz --owner=0 --group=0 home usr
Restore
cd /data/data/com.termux/files
tar -xvzf /sdcard/Download/termux.tgz
NOTE Ensure that storage permission is granted:
termux-setup-storage
This could be a issue, in some devices. We need to add this. For safety
Task try to solve it using ranger
Result not worked (dependency required)