Results 1 to 4 of 4

Thread: RSync-over-SSH

  1. #1
    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.

  2. #2
    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

  3. #3
    Join Date
    Jun 2008
    Posts
    70
    Quote Originally Posted by eth00 View Post
    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.
    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 !

  4. #4
    Join Date
    Jun 2008
    Posts
    70
    hello,

    rsync -av -e ssh /backup/cpbackup/weekly koky@11.22.33.44:

    is this a correct command??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •