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 ?
> 
>       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 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:
> > 
> > 
> > #! /bin/bash
> > rsync -e ssh -avz \
> >          --exclude "httpd/logs/access_log" \
> >          --exclude "httpd/logs/error_log" \
> >          --exclude "httpd/logs/AsA_access_log" \
> >          --exclude "httpd/data/PAP_USE" \
> >          aa:/home/ /home
> > 
> > 
> > The script sits on the backup server, and backups the main server (aa) 
> > onto it.
> > 
> > HTH,
> > Bill
> -- 
> Aly S.P Dharshi
> [EMAIL PROTECTED]
> Southern Alberta Digital Library Project
>                                                                                      
>                                         
>         "A good speech is like a good dress
>          that's short enough to be interesting
>          and long enough to cover the subject"
-- 
Michael Gargiullo <[EMAIL PROTECTED]>
Warp Drive Networks


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to