954,074 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Rsync over SSH

I am trying to set up a backup server to backup a webserver, using rsync over SSH.
Both machines got SSH/SSHD
Both machines got some version of cron
Both machines got rsync
Webserver is Redhat
Backup server is Ubuntu (testing only)
The machines are on different networks serperated by firewalls
I think the RWE rights are correct (Backup got 700 for the appropriate folder)
I know that I am able to connect to the webserver trough SSH completely fine

My problem is this:
Whenever I try to run (from the backupserver):

rsync -avz -e -l %loginname% %IP/domain% :/folderIwantToBackup /targetfolder

I get a couple of different outcomesCode 23 (According to what I have read, I don't think this applies)
No error message, I am not prompted for a pass,but the /targetfolder was copied into itself
Nothing at all happens

Sooo, what I am wondering is this:

1. Anyone got any clue what my problem might be?

2. Anyone got any GOOD links to some documentation/tutorials etc on either RSYNC or SSH (Part of my problem is not finding any good documentation, most of what I found is from around 1995-2001 and I am not sure how much of it applies in 2008).

3. If there is anything you can tell me that will help me at all, much appreciated.

EDIT: Yikes, I think I posted in the wrong subforum. Damn you multiple tabs in a browser!

Inertial
Newbie Poster
2 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: