Priveleges problem using rsync
I am trying to move a web directory from serverA to serverB I have sudo
priveleges on both, but I do not know root's password.
Using the command
rsync -a serverA:/var/www serverB:/var/
I get an error that I don't have the priveleges to mkdir on serverB. Makes
sense the permissions should not let me write to /var without sudo.
So I try the same command with sudo. But it asks for root@serverB
password. Which I don't know. I don't think I ever set one.
The same thing happens if I run the command from either server.
Any ideas how to get around this?
No comments:
Post a Comment