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 outcomes
- Code 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!