How do you specify --rsync-path for cPanel Rsync Backups
Hi
I need to specify the --rsync-path using CPanel backup ? The backup destination's rysnc is not in the usual location and as a result it fails.
Is there a way to do this?
I run CPanel v72.0.10 on CENTOS 7.5
As soon as I manually specify the --rsync-path path it works when running a rsync manually
e.g.
But it fail the validation with the same message I get when I don't specify the path
rsync -avz -e "ssh" --rsync-path /bin/rsync --progress /backup/* username@server.com:/path/bbbb/But it fail the validation with the same message I get when I don't specify the path
Permission denied, please try again.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.2]-
Hi Sorry I think you misunderstood my question. I added a additional destination of type Rsync but I need to pass the parameter "--rsync-path /bin/rsync" to the rsync command and need to know how to do that. It fail without it. There is no option to pas the parameter look at my example above to see how to manually run the rsync with the parameter 0 -
Hi @biovolt You're correct I did misunderstand your question. There's not going to be a way to specify this, the rysnc "type" of backup transport isn't modifiable. I am curious if a symlink to the proper location on the destination server would work though, you might give it a shot as it's the only viable option I can see to workaround the issue. Please let us know if that works for you! Thanks! 0
Please sign in to leave a comment.
Comments
3 comments