https://github.com/abertschi/laptop_sync
A simple set of bash scripts to push backup a laptop to a remote machine using rsync.
https://github.com/abertschi/laptop_sync
Last synced: about 2 months ago
JSON representation
A simple set of bash scripts to push backup a laptop to a remote machine using rsync.
- Host: GitHub
- URL: https://github.com/abertschi/laptop_sync
- Owner: abertschi
- License: mit
- Created: 2022-04-28T14:20:49.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T14:37:25.000Z (about 3 years ago)
- Last Synced: 2025-02-01T09:22:51.192Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# laptop_sync 💻
A simple set of bash scripts to backup a laptop to a remote machine using rsync.
### Features
- 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### Requirements
- ssh
- rsync
- flock
- yad (Only for laptop_sync_gtk)
- libnotif (for desktop notifications with notify-send, optional)### Run
- 1. Setup sync options in laptop_sync_internal.sh
- 2. cronjob: `*/30 * * * * /some/bin/laptop_sync.sh`### About
Andrin Bertschi
https://abertschi.ch