Poeschl / Hassio-Addons

The repository for my Home Assistant Supervisor Add-ons.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[rsync] allow syncing to a rsync daemon with a password file instead of key

laundmo opened this issue · comments

commented

Which addon?
Rsync

Is your feature request related to a problem? Please describe.
We can only access our NAS through a rsync daemon, which doesn't support key-based auth

Describe the solution you'd like
A setting in the addon configuration to specify the password file, which doesn't require a ssh key. Also needed is a way to specify the full daemon mode path like: rsyncuser@nas::backup/raspi-ha - the syntax for rsyncing with a daemon.

Describe alternatives you've considered
Allowig for defining the full rsync command manually

Additional context
Heres the full command we use to backup other servers files to this NAS:
/usr/bin/rsync -auv --delete --password-file=/root/pwd.txt /hdd/ rsyncuser@nas::backup/server/hdd