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

Re: rsync



on Sat, Apr 27, 2002, angelaoyu@eol.ca (angelaoyu@eol.ca) wrote:
> Hi all
> 
> How use rsync to backup and login in automatically?

Describe your issue in more detail.

A basic rsync "archive" request:

  - "Push" mode, archived system initiates:

    $ rsync -av --exclude-from=<filename> / remotehost:/backupdir


  - "Pull" mode, archive system initiates:

    $ rsync -av --exclude-from=<filename> remotehost:/ /backupdir


To automatically approve the connection, you could use a SSH key without
a passphrase.  Forced execution via SSH is another option.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   What doesn't kill you makes you stranger.

Attachment: pgp8Ejjz_s4bn.pgp
Description: PGP signature


Reply to: