Hi all. I’m trying to sync a folder in the Umbrel server with a folder in my openmediavault server.
I can SSH into my Umbrel, and determined that the target folder, that the File Browser can read is 192.168.0.123:/data/umbrel-os/home/umbrel/umbrel/data/storage/syncOMV (syncOMV is the folder I created inside storage, which is the Umbrel default folder for files). I could even copy files from a regular Linux machine to this folder using sshfs.
But how can I mount that folder into my OMV folder, so I can have a cron rsync job to sync it every x hours? Can’t find the proper command to do that…
I managed to make an rsync from my Linux laptop to Umbrel using:
rsync -r /home/user/folder umbrel@192.168.0.123:/data/umbrel-os/home/umbrel/umbrel/data/storage/syncOMV
Worked great!
So I went to the OMV server and setup an rsync task to sync a share in the server with the Umbrel folder. But I got this error…
Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(231) [sender=3.2.7]
ERROR: The synchronisation failed
Any ideas?
are you trying to log in using ssh keys.?
you may need to use an alternative method to log in.
or
Generate ssh keys and copy them to the proper locations.
And then…
Make sure its not all erased during an update.
So far all the customization I have done end up deleted when updating.
I dont think the ssh keys will be but they might
The thing is that accessing from the Linux notebook and the OMV server using ssh granted me access to the Umbrel. Rsync form the Umbrel works and from the OMV server too if I use it from the CLI, as I just found out. It´s only when try to use the OMV Rsync service plugin that it´s not working. I created a new pair of keys in the Umbrel, and now the error message changed, but still do not allow me. Wierd…
Even included the option -o StrictHostKeyChecking=no
Permission denied, please try again.
Permission denied, please try again.
umbrel@192.168.0.123: Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(231) [sender=3.2.7]
ERROR: The synchronisation failed.
Perhaps you have an old key causing a conflict.