Two tiny bash scripts to initialize Termux and perform backups with rsync.
From your phone launch Termux and run:
cd && mkdir -p scripts && cd scripts
curl -O -s -S -L https://raw.githubusercontent.com/lliendo/android-backups/master/scripts/termux-init.sh
chmod u+x termux-init.sh && ./termux-init.sh
After this you might want to also get the backup script:
curl -O -s -S -L https://raw.githubusercontent.com/lliendo/android-backups/master/scripts/termux-backup.sh
chmod u+x termux-backup.sh
Usage: ./scripts/termux-backup SOURCE_PATH USERNAME@HOST:DESTINATION_PATH ID_RSA_PATH
Example: ./scripts/termux-backup.sh $HOME/storage [email protected]: id_rsa
android-backups is distributed under the GNU GPLv3 license.
- Lucas Liendo.