Alright. I am working on an option to simply use passwords instead of ssh keys.
Setting us ssh keys for the Synology nas is likely a manual process. Check with the sysnology docs/forums. All of my NAS devices have ssh key access available, just not through the interface.
There is the backup via ftp/sftp addon available https://github.com/leinich/hassio-addons
It makes a copy of config folder only, zipped it and ftp to the external storage.
It is possible to combine your addon and this one
Simply replace ssh by ftp/sftp.
I’ve tried to go through forum but there are plenty of posts, majority of them does not work for me (did not find the working one till now)
I am unsure of what is happening. Below is what I have in my add on script and my configuration.yaml file. If I click restart in the addon it does create the file on my NAS, but it does not seem to run at the appointed time automatically. What am I missing. For me it is usually indentation. Also there is no entity associated with hassio addon.
Running hassio on docker.
Redacted setup.
Thanks
{
"ssh_host": "192.168.1.100",
"ssh_port": 2222,
"ssh_user": "rsync_cwb",
"ssh_key": [
"-----BEGIN RSA PRIVATE KEY-----",
],
"remote_directory": "/volume4/SecuredBackups/hassio",
"zip_password": "",
"keep_local_backup": "14"
}
automations:
- alias: Daily Backup at 3 AM
trigger:
platform: time
at: '3:00:00'
action:
- service: hassio.addon_start
data:
addon: ce20243c_remote_backup
Having some troubles getting this up and running. Need some clarification on the instructions. I used this to create the keys and copy the pub key to my destination - https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server
Basically, I SSH into my HASSIO and at the command ran: > ssh-keygen
After that, I ran: > ssh-copy-id username@destination_host
(I was able to then SSH into my destination without a password prompt)
Then I ran: > ssh-keygen -lf /root/.ssh/id_rsa
I copied the text between 2048 SHA256: root@core-ssh (RSA) and pasted it, in quotes into the add-on config so it looks like this
"ssh_key": [
"MUMBOJUMBORSAHASHBLAHBLAHBLAH"
],
Where did I jack this up?
I am having issues downloading @mr_bjerre remote backup to my Hassio 89.2 on a RPi. I keep getting the following error:
19-03-18 01:56:34 ERROR (SyncWorker_18) [hassio.docker.interface] Can’t install fixated/remote-backup-armv7:0.3.2 -> 404 Client Error: Not Found (“pull access denied for fixated/remote-backup-armv7, repository does not exist or may require ‘docker login’”).
Any suggestions on what I’m doing wrong?
Thanks.
It looks like the add-on is not working. When adding the repo to Hass.io, the new add-on does not show up at all.
Cant get the addon to successfully connect to my unraid. Constantly says permission denied. I think it wants a password still??
Hi, this looks to me a great add-on. The problem I see here, and most probably the reason cause the people is not using it more, me included, is just because there are not clear instructions about how exacly proceed to setup the ssh-keys. I would really appreciate a step by step (without holes) about to to setup this add-on end to end.
Thanks in advance
Hello,
I have hassio 0.97.2. I added the repository and clicked on Install at the Remote Backup plugin. Nothing happens. Even after restart of hassio and also the raspberry pi (3b+). Log file doesn’t show any errors.
What can be the problem?
Did you configure the add on?
I have a similar problem as Thuurke.
I have added the add-on repository (https://github.com/overkill32/hassio-addons)
and try to install the add-on.
But nothing being installed. The only thing that’s happens is that the install-button flashes red.
Does anybody knows what the problem is?
I really would like to use this add-on, seems to be really good!
//Fredrik
I have been successful in sending my backups to my FreeNAS by using an FTP add-on for HA and having my FreeNAS pull the backup when it finds a new one in the backups folder. I made a simple automation to perform the backup weekly and FreeNAS does the rest.
hello,
same problem for me,
have you succeed please? and if so, how?
Thanks
Sorry I have not
I tried to uninstall and reinstall - everything is up and running.
It means that add on works. Well, at least on my RPi 3B with HassOS 2.12
and Home Assistant 0.102.3
Now I checked the add-on repository and I have installed it from https://github.com/thestigh/hassio-addons (forked from original one). Try to use this one.
I recently started a new addon based on overkill32’s hassio-remote-backup: Samba Backup
In contrast to his addon, it does not require a ssh connection, but instead uses smbclient to copy the snapshots to a remote Samba share. Feel free to check it out. I appreciate any feedback.
Nice, will try it out! Think your add-on deserves his own thread.
Does this add-on auto backup or should I create an automation same as hassio-remote-backup?