Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on scripted rsync site backups. in the Shared & Semi-Dedicated forum
is anyone backing up their site using rsync in a cron job on a local machine? i can't find a way to do it without ...

  1. #1
    JPC Member
    Join Date
    Jul 2003
    Posts
    2

    scripted rsync site backups.

    is anyone backing up their site using rsync in a cron job on a local machine?

    i can't find a way to do it without having to type in the password each time.

    i've tried rsync with a password file, rsync through tdp port, rsync via ssh.

    limited ssh capabilities means i cannot create a ssh-keygen pair nor place a root: password file on the server.

    someone else must have done this, as i've read a lot of posts about people recommending rsync over ftp.

    anyone?

  2. #2
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    don't create keys on your hosting, do it elsewhere. Then add your public key to ~/.ssh/authorized_keys and you will be able to SSH to your hosting w/o the password.
    Then use "rsync -e ssh" in your cron script on another machine to connect to the hosting and synchronise stuff.

Bookmarks

Posting Permissions

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