ikifar2012 / remote-backup-addon

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

Specify known_hosts and id #76

Closed NicLogix closed 1 year ago

NicLogix commented 1 year ago

I have a custom folder keeping my known_hosts and id file, to persist between updates or reloads. Is there a possibility change the addon to specify the location of these. I connect to a couple of hosts passwordless by ssh-copy-id, pulling all kinds of stats. I want to backup my snapshots/backup folder to one of these hosts.

patman15 commented 1 year ago

The path is /ssl is hard coded in the source. You could of course change it there. In general it depends on where your folder is located. You could also try specifying the filename relative to the /ssl path in the configuration of the add-on.

SirGoodenough commented 1 year ago

You could also try specifying the filename relative to the /ssl path in the configuration of the add-on.

That's cheating,,, I had never thought of doing that...

NicLogix commented 1 year ago

Unfortunately my folder is at same height as the /ssl. I will fork and see if I can figure this out. Request closed, Thank you.

SirGoodenough commented 1 year ago

./ssl/../sameLevelelFolder/go down from there...