Hello friends,

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)

../..

Step:2(command:2)

ls

Step:3(command:3)

tar -pcvzf termux-backup.tar.gz files/ lib/

Now friends in this step:3 its take some time!

Step:4(command:4)

ls -a

Step:5(command:5)

chmod 750 termux-backup.tar.gz

Step:6(command:6)

cp termux-backup.tar.gz /sdcard

Step:7(command:7)

rm termux-backup.tar.gz

 

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 🙂