A simple set of bash scripts to backup a laptop to a remote machine using rsync.
- Do not sync while laptop is on battery
- Do not sync while syncing is already running
- Do not sync if already recently synced
- Different ssh options based on wifi ssids (home network vs public internet)
- Tray with yad, notifications with libnotif
- ssh
- rsync
- flock
- yad (Only for laptop_sync_gtk)
- libnotif (for desktop notifications with notify-send, optional)
-
- Setup sync options in laptop_sync_internal.sh
-
- cronjob:
*/30 * * * * /some/bin/laptop_sync.sh
- cronjob:
Andrin Bertschi
https://abertschi.ch