Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edigiacomo/android-rsync-backup
Simple script to backup Android folders
https://github.com/edigiacomo/android-rsync-backup
Last synced: 29 days ago
JSON representation
Simple script to backup Android folders
- Host: GitHub
- URL: https://github.com/edigiacomo/android-rsync-backup
- Owner: edigiacomo
- License: gpl-3.0
- Created: 2018-02-28T17:59:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-17T16:09:49.000Z (almost 3 years ago)
- Last Synced: 2024-06-11T19:27:56.390Z (5 months ago)
- Language: Shell
- Size: 15.6 KB
- Stars: 17
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Backup Android folders using rsync
## Installation
- Install Termux and Termux:API (e.g. from [F-Droid](https://f-droid.org/)).
- [Activate the storage in
Termux](https://wiki.termux.com/wiki/Internal_and_external_storage).
- Install the dependencies `apt install rsync openssh jq`.
- Generate ssh key `ssh-keygen`.
- Copy ssh key to destination `ssh-copy-id user@host`.
- Copy `android-rsync-backup` (e.g in your home folder).
- Edit variables `src`, `dest` and `ssid` in `android-rsync-backup` script.## Manual backup
Run the script from Termux: `~/android-rsync-backup` or add the script to homescreen
with Termux:Widget.## Periodic backup with cron
- Activate cron `crond`
- Add `android-rsync-backup` to `crontab`
- Set `ACQUIRE WAKELOCK` for Termux## Activate the backup using Tasker
See Termux:Task.