ikifar2012 / remote-backup-addon

Automatically create and backup HA snapshots using SCP
30 stars 4 forks source link

remote port is ignored when copying backup #74

Closed ajdelgado closed 2 years ago

ajdelgado commented 2 years ago

It seems like in this line REMOTE_PORT is not used, and just use the default port 22 even if the addon has a different remote_port configured. https://github.com/ikifar2012/remote-backup-addon/blob/aa499e2ca53fcb2f0c874e4a5e9ba5081d353d79/remote-backup/run.sh#L165

ajdelgado commented 2 years ago

Nevermind, I see that the config file has the port. My issue is that for remote_port I used the SSH port, but in the configuration I selected rsync, and it seems that then remote_port should be the rsync port used by the server.