Re: rsync-backup

2003-10-10 Thread Bill Tangren
MKlinke wrote: On Thursday 09 October 2003 10:41, Aly Dharshi wrote: Hello, So how do you sort out the passwd when ssh asks for one, do you have it in some secret file ? 'ssh-agent' is one option for this.. %eval `ssh-agent` %ssh-add This will store and apply the key when required.

Re: rsync-backup

2003-10-10 Thread Chris Purcell
I tried this on both the backup machine, and the machine to be backed up. I still get prompted for a password. Could you (or someone else) provide an example of how you would use this in a script that uses rsync and ssh to backup files from one machine to another? I read the man pages for

Re: rsync-backup

2003-10-10 Thread Bill Tangren
Chris Purcell wrote: I tried this on both the backup machine, and the machine to be backed up. I still get prompted for a password. Could you (or someone else) provide an example of how you would use this in a script that uses rsync and ssh to backup files from one machine to another? I read the

Re: rsync-backup

2003-10-10 Thread MKlinke
On Friday 10 October 2003 13:35, Bill Tangren wrote: MKlinke wrote: On Thursday 09 October 2003 10:41, Aly Dharshi wrote: Hello, So how do you sort out the passwd when ssh asks for one, do you have it in some secret file ? 'ssh-agent' is one option for this.. %eval `ssh-agent`

Re: rsync-backup

2003-10-10 Thread Bill Tangren
MKlinke wrote: On Friday 10 October 2003 13:35, Bill Tangren wrote: MKlinke wrote: On Thursday 09 October 2003 10:41, Aly Dharshi wrote: Hello, So how do you sort out the passwd when ssh asks for one, do you have it in some secret file ? 'ssh-agent' is one option for this.. %eval

Re: rsync-backup

2003-10-10 Thread Bret Hughes
On Fri, 2003-10-10 at 14:16, Bill Tangren wrote: Chris Purcell wrote: I tried this on both the backup machine, and the machine to be backed up. I still get prompted for a password. Could you (or someone else) provide an example of how you would use this in a script that uses rsync and ssh to

Re: rsync-backup

2003-10-10 Thread Bill Tangren
Bret Hughes wrote: On Fri, 2003-10-10 at 14:16, Bill Tangren wrote: Chris Purcell wrote: I tried this on both the backup machine, and the machine to be backed up. I still get prompted for a password. Could you (or someone else) provide an example of how you would use this in a script that uses

Re: rsync-backup

2003-10-10 Thread MKlinke
On Friday 10 October 2003 14:48, Bill Tangren wrote: MKlinke wrote: On Friday 10 October 2003 13:35, Bill Tangren wrote: MKlinke wrote: On Thursday 09 October 2003 10:41, Aly Dharshi wrote: Hello, So how do you sort out the passwd when ssh asks for one, do you have it in some secret

Re: rsync-backup

2003-10-10 Thread Bill Tangren
MKlinke wrote: Did you put id_dsa or id_dsa.pub into the authorized_keys2 file above. It should be the public key that is inserted. Regards, Mike Klinke That was it. I used id_dsa, not id_dsa.pub, the public key. Thanks, Bill -- redhat-list mailing list unsubscribe mailto:[EMAIL

Re: rsync-backup

2003-10-10 Thread MKlinke
On Friday 10 October 2003 15:01, Bret Hughes wrote: On Fri, 2003-10-10 at 14:16, Bill Tangren wrote: Chris Purcell wrote: I tried this on both the backup machine, and the machine to be backed up. I still get prompted for a password. Could you (or someone else) provide an example of how

rsync-backup

2003-10-09 Thread shyam
hi guys i am just trying to use rsync for backup , can anybody tell me how i can do incremental backup ie only the new or modified files should go for backup any help is precious -- :-)Success is not a Long jump nor a High jump ,its a Marathon of Steps:-) _/_/_/_/_/ _/_/_/ Shyama Sundar G.A

Re: rsync-backup

2003-10-09 Thread Bill Tangren
shyam wrote: hi guys i am just trying to use rsync for backup , can anybody tell me how i can do incremental backup ie only the new or modified files should go for backup any help is precious This is a script that I use to do hourly backups of the /home directory on one of my servers: #!

Re: rsync-backup

2003-10-09 Thread Aly Dharshi
Hello, So how do you sort out the passwd when ssh asks for one, do you have it in some secret file ? Cheers, Aly. On Thu, 2003-10-09 at 08:13, Bill Tangren wrote: shyam wrote: hi guys i am just trying to use rsync for backup , can anybody tell me how i can do

Re: rsync-backup

2003-10-09 Thread MKlinke
On Thursday 09 October 2003 10:41, Aly Dharshi wrote: Hello, So how do you sort out the passwd when ssh asks for one, do you have it in some secret file ? 'ssh-agent' is one option for this.. %eval `ssh-agent` %ssh-add This will store and apply the key when required. Regards, Mike

Re: rsync-backup

2003-10-09 Thread Michael Gargiullo
The user the backup script runs as needs to exchange it's ssh key to the machine it connects to. Now it won't ask for a ssh password. On Thu, 2003-10-09 at 11:41, Aly Dharshi wrote: Hello, So how do you sort out the passwd when ssh asks for one, do you have it in some secret file ?

Re: rsync-backup

2003-10-09 Thread Ian Mortimer
i am just trying to use rsync for backup , can anybody tell me how i can do incremental backup ie only the new or modified files should go for backup rsync does that by default. If you want to save a backup history using rsync see: http://www.mikerubel.org/computers/rsync_snapshots/ -- Ian