I am using Rsync to backup files from my main Cpanel server to a failover Cpanel server. This is working fine. I am also trying to setup another CentOS server that is pretty much a file server for backups. I set Rsync up on this server the same way I did with the other 2. This server does not have Cpanel installed. When I try to Rsync the backups over I get permission denied errors. First I got the error of mkdir, so I copied the dirs/files over using scp which took a while. Now I get the error recv_generator: failed to stat: Permission denied (13).
I have looked all around the internet for a solution, but have had no luck. I have messed around using chown and chmod because that is what I found on the internet, but with still no luck. The cmd I am using is:
rsync -v -r /backup/ xx.xx.xx.xx::{site}/backup
This is the same cmd I am using to transfer from the first cpanel server to the second. It also works from the second cpanel server to the first. It will not work for either cpanel server to the CentOS backup file server.
I have created ssh keys for all of the servers and every one can ssh with root to the other two servers without a password.
Any Ideas?
Thanks
I have looked all around the internet for a solution, but have had no luck. I have messed around using chown and chmod because that is what I found on the internet, but with still no luck. The cmd I am using is:
rsync -v -r /backup/ xx.xx.xx.xx::{site}/backup
This is the same cmd I am using to transfer from the first cpanel server to the second. It also works from the second cpanel server to the first. It will not work for either cpanel server to the CentOS backup file server.
I have created ssh keys for all of the servers and every one can ssh with root to the other two servers without a password.
Any Ideas?
Thanks