I've now setup the server to look for the client and do the backups.
Works fine. However I'd like to edit the clients .ssh/authorized_keys
file to only allow rsync to be run from the server.

I've tried
        command="/usr/bin/rsync ~/" ssh-rsa [key] [EMAIL PROTECTED]
but this is failing because, I assume, the server is running rsync (over
ssh) and it is not running on the client.

Thanks for any further help!

On 10/05/02, Alvin Oga ([EMAIL PROTECTED]) wrote:
>       ( backups should NOT be on the machine its backing up )
> 
>       another backupserver fires off its (rsync) cron job to copy
>       home-server:/export/Backup/....  onto   backup:/safedir/Backup
>               - confgure /export/Backup in /etc/exports 
>               to be readable by backup only
> 
>       # on backup, a (root) cron job runs
>       /usr/bin/rsync -avz --delete home-server::export/backup \ 
>               /safedir/backups/
> 
> - no passwds ... no keys(might be a bad idea)... 
> 
> On Sat, 11 May 2002, Rory Campbell-Lange wrote:
> > I'd like to automate a backup of a user's machine to the server. 

-- 
Rory Campbell-Lange 
<[EMAIL PROTECTED]>
<www.campbell-lange.net>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to