[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Rsync Setup Question



At 08:56 AM 3/5/2004 -0600, you wrote:
Read the archives, Google'd to death and read the man pages on Rsync. Maybe
it's a little over my head here.

I downloaded Bruce's Rsync packages, they installed fine, daemon is showing
as running and created the /etc/rsyncd.motd, /etc/rsyncd.conf,
/etc/rsyncd.scrt files and believe we have the correct information in them.

We run a cron job to tar up /home/mysql/var and then we installed rsync on
our Debian server that is set aside as the backup server which we then pull
down backup from once a week to a CD burner on our Mac inside the LAN.

I can get the rsync to run and pull the files from our Raq4's as it should
but when running the command;

Rsync -e ssh -a 1ocean1.webpresencegroup.net:/home/rsync-mysql/
/home/rsync-backup/

All goes well except that I have to enter a password as the root/admin.

To place this in a cron won't work like this I am thinking, I read up on the
creation of new ssh keys, but that is where it gets fuzzy. Anyone one have a
laymen's how-to for us remedial folks :)

I am burnt on learning this last month with
sendmail/MailScanner/SpamAssassin stuff and was hoping for a easy how-to for
a change:))


Anyone ??
--
Thanks!!
David Thurman
List Only at Web Presence Group Net

This is an SSH issue and not an rsync issue. You should be using SSH2 protocol as well. You can force it in your rsync command line or enforce it in sshd.conf.

Documentation on doing this is pretty extensive, however, in a nutshell, you need to generate keys on the client servers and put those keys on the target server in ~/.ssh/authorized_keys file.

Time permitting, I will write more later if you haven't been able to conjure up the docs.

Cheers,
Glenn