baodrate / snap-sync

Use snapper snapshots to backup to external drive
GNU General Public License v2.0
130 stars 38 forks source link

Add SSH identifiy file support #110

Open SyzSteM opened 3 years ago

SyzSteM commented 3 years ago

Dear wesbarnett, Thank you a lot for your great script, which has served me wonderfully for a long time already.

As I recently acquired a RPi 4b and setup a small, personal backup NAS with it, I wanted to be able to sync my snapshots to my Pi via SSH. To let the script run automatically with a systemd service, I need to give it access to my private SSH key to log into the Pi. My small changes should allow this feature to work.

Unfortunately I reformated the file on-save, so there are many simple whitespace changes. I also tried to integrate the new feature into --help and the man-pages.

Cheers!