TermuxBackupTools
TermuxBackupTools copied to clipboard
No location `/storage/emulated/0`
I'm not sure what prior setup might have been done, there's nothing mentioned, but nothing I've seen gives you the system storage at /storage/emulated/0. Termux can mount the /storage/emulated/0 location to ~/storage by calling termux-setup-storage though.
Is there some setup detail missing in the README here, or is the destination path just wrong?
@mtalexan /storage/emulated/0 is the default home location in android phones. If you are facing this issue, try changing line 14
readonly DEST='/storage/emulated/0/Termux/Backup'
to the correct location.
I believe the issue is that this is run within Termux, but unless you rooted your device Teux doesn't have permissions to access that location directly. I can verify it's the correct absolute location from a file manager outside Termux, but the default path and all sub-paths of it are permission denied within Termux.
Thanks for the DEST suggestion, I hadn't looked closely enough at the script to see that.