Hi,
thanks for this useful Dockerfile. Unfortunately I am having some issues. I use the example from the Readme on a Raspberry Pi:
docker run --name rsync-backup \
--volume <my_named_volume>:/backup \
--volume /home/pi/.ssh:/ssh-keys \
--env SSH_IDENTITY_FILE=/ssh-keys/id_rsa \
--env BACKUPDIR=<my_user>@<my_hostname>:backup \
jswetzen/rsync-backup:arm32v7
I get:
Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.3]
But running directly
rsync --force --ignore-errors --delete --backup \
-aHAXxv --numeric-ids --progress \
-e "ssh -Tx -c aes128-gcm@openssh.com -o Compression=no -i /home/pi/.ssh/id_rsa -p22" \
<my_directory> <my_user>@<my_host>:backup
does work (this is rsync 3.1.3 on Raspbian Buster).
Do you have an idea what could be going wrong? Thanks!
Hi,
thanks for this useful Dockerfile. Unfortunately I am having some issues. I use the example from the Readme on a Raspberry Pi:
I get:
But running directly
does work (this is rsync 3.1.3 on Raspbian Buster).
Do you have an idea what could be going wrong? Thanks!