Closed Sticklyman1936 closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm also running into this issue
Confirmed fix is rebuilding the Docker image with a newer rsync.
Not opening PR, contributing guidelines say that the package_versions.txt file is generated as part of the build process, so I'm not sure where/how those versions would come from or get set.
We install rsync from the alpine repo. It looks like it just got updated to 3.2.5 in there earlier today. I triggered a package check build, which should pick it up and update. The new build should be out within a half hour or so.
Ahh makes sense. With the new build everything works, thank you!
Expected Behavior
When using rsnapshot with an SSH-based remote it shouldn't hang indefinitely.
Current Behavior
When using rsnapshot with an SSH-based remote it is hanging forever with high CPU usage due to a bug with the version of rsync being used in the container. This has been fixed in the upstream rsync project (https://github.com/WayneD/rsync/issues/346 , https://github.com/WayneD/rsync/commit/fabef23bea6e9963c06e218586fda1a823e3c6bf ), so one either wants to use a later version of rsync with bugfix (not sure if there is an official release yet), or roll-back for now.
Steps to Reproduce
latest
tag of https://hub.docker.com/r/linuxserver/rsnapshot/config/rsnapshot.conf
to backup a remote host over ssh (and to potentially use a passwordless ssh keyfile (usingssh-keygen
) given that this is meant to run unattended. For example:Set up a remote backup source
backup user@12.34.56.78:/data/ destination_dir/