Backup termux environment
This script will check if you have the backup file already. It will also give the option to keep the existing file or overwrite.
If you have termux:widget you can add this file to: ~/.shortcuts
then you can run from the home screen.