Results 1 to 4 of 4
Thread: RSync-over-SSH
-
04-09-2009, 01:55 PM #1Junior Guru Wannabe
- Join Date
- Jun 2008
- Posts
- 70
RSync-over-SSH
Hello,
i have two srevers one is Dedicated Server and the secound is for backup .
well , i login to the backup server and creat ftp account .
i wanna make the server save the weekly backup .
the backup path is /backup
the copmany of the backup server said "
To RSync your data to your backup server, type:
"rsync -av --progress -e ssh @"
this will put all the files in your home
directory..."
i dont know how to use this command on the Dedicated Server .
so i need your help , please tell me what i have to do step by step .
Regards.
-
04-09-2009, 01:59 PM #2Web Hosting Master
- Join Date
- Apr 2003
- Location
- NC
- Posts
- 3,093
First off it has to be an ssh account, not just FTP.
rsync -av ssh /backup/ backup-server.ip:/backup-server/
Run that from your server and use ssh keys to connect.John W, CISSP, C|EH
MS Information Security and Assurance
ITEagleEye.com - Server Administration and Security
Yawig.com - Managed VPS and Dedicated Servers with VIP Service
-
04-09-2009, 02:09 PM #3Junior Guru Wannabe
- Join Date
- Jun 2008
- Posts
- 70
Thanks for your reply .
yes its ssh account
rsync -av ssh /backup/ backup-server.ip:/backup-server/
please explain it clearly .
lest say that the ssh backup account is : koky
and the backupserver ip is 11.22.33.44
and the path of the weeeklu backup: /backup/cpbackup/weekly
and the ssh port is 21
so pleas write the command to me compaltely .
I am sorry i am a new in this field !
-
04-09-2009, 02:26 PM #4Junior Guru Wannabe
- Join Date
- Jun 2008
- Posts
- 70
hello,
rsync -av -e ssh /backup/cpbackup/weekly koky@11.22.33.44:
is this a correct command??