New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Rsync not working on my cPanel server
When I checked it says
Package rsync-3.0.6-12.el6.i686 already installed and latest version
Whey I try to run command it says
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
What problem can be?
Comments
Is rsync installed on both servers?
Same think as Jar said,
Seems that you have rsync on server where you're issuing command as it's trying to connect, but you don't have that on server where you're connecting.
Thanks it was the problem
Just one more question how do I backup mysql? I know /home /var /usr/local/cpanel /etc /root
mysqldump to a file, then rsync that file.
Never copy the database files direct unless you stop mysql while copying.