Skip to content
\n

then backup ubuntu to /sdcard ( which is Internal Storage )

\n
proot-distro backup --output /sdcard/udroid.tar.gz udroid
\n

Restore

\n

give Internal storage again with the first command ( assuming you re-installed termux )

\n
apt update && apt upgrade -y\npkg install proot-distro\nproot-distro restore /sdcard/udroid.tar.gz
\n
READ MORE about proot-distro at https://github.com/termux/proot-distro
","upvoteCount":2,"url":"https://github.com/orgs/RandomCoderOrg/discussions/105#discussioncomment-1977450"}}}
Discussion options

You must be logged in to vote

@chiragverma11
yes there is a way

Here is how.
first, give Internal Storage permission to termux with

termux-setup-storage

then backup ubuntu to /sdcard ( which is Internal Storage )

proot-distro backup --output /sdcard/udroid.tar.gz udroid

Restore

give Internal storage again with the first command ( assuming you re-installed termux )

apt update && apt upgrade -y
pkg install proot-distro
proot-distro restore /sdcard/udroid.tar.gz
READ MORE about proot-distro at https://github.com/termux/proot-distro

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by chiragverma11
Comment options

You must be logged in to vote
5 replies
@SaicharanKandukuri
Comment options

@v8karlo
Comment options

@SaicharanKandukuri
Comment options

@v8karlo
Comment options

@SaicharanKandukuri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants