For backup your termux files and pkges,
You need to follow some commands and be pationt always for this trick!
After back up it will see like .tar.gz extancen and this method is easy!
So let’s start guys!
This post is in English language if you want this post in Hindi and easy language just comment it for Hindi language post:-)
Follow commands and steps bellow!
Step:1(command:1)(for go to root directory of termux)
tar -pcvzf termux-backup.tar.gz files/ lib/
Now friends in this step:3 its take some time!
chmod 750 termux-backup.tar.gz
cp termux-backup.tar.gz /sdcard
Congratulation guys your back up file is now in your sdcard 🙂
now if any problem with termux uninstall
termux and reinstall termux then update & upgrade then give storage permission (termux-setup-storage) then goto sdcard with (cd /sdcard) and find ur backup file with command *ls* copy that backup file name
now restore ur backup with this command
(tar -xzvf termux-backup.tar.gz -C /data/data/com.termux/)
after finish restore your data you can check your termux.
For batter understand YouTube video is comingsooooooon 😉
If you have problem then comment bellow and do not forgot to like post
For latest tips and tricks of termux visit @ Technicalchirag.com 🙂