Results 1 to 8 of 8
Thread: Basic Rsync
Enjoy an ad free experience by logging in. Not a member yet? Register.
rsync -arvv -e ssh /home/local_dir ssh_login@server_address:./Backup
If I remove the : after the adress it makes the backup on the local computer.
Any clues about how I can do this simple task?
Looks ok at a glance. What error are you getting?
You might change the remote path to look like:
rsync -arvv -e ssh /home/local_dir ssh_login@server_address:/home/login/Backup
Thanks for the reply, I tried it and got
bash: rsync: command not found rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: remote command not found (code 127) at io.c(454) [sender=2.6.9]
Hmm. And what if you run:
$ ssh_login@server_address which rsync
Running which rsync from the server givesCode:
11-12-2007 #7Originally Posted by Vergil83
What I'd recommend is providing, along with your other options:
It seems like rsync on the client side is confused by that strange path (even though it's apparently in the user's PATH). So providing it explicitly may be the solution.
Yes it is a Solaris server.
And *drum role* it worked! Stating the remote rsync path did the job. Thank you a ton anomie.
And thanks bigtomrodney, I was guessing at the options.