MLUG: Re: [MLUG] backup of home dir..
Re: [MLUG] backup of home dir..
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Stephen Montgomery-Smith wrote:
> 
> Oh, maybe rsync won't work.  You would have to run rsync from bengal and
> it is possible that you will not be allowed to create a crontab file.
> 

No, I think what I just said was completely wrong.  Make it so that you
edit the .ssh/authorized_keys on bengal.  That means that you can ssh
from your home computer to bengal without a password (but not from
anywhere else).

Now use the 
crontab -e
command.  This will get you into vi - hope you like editing in vi - if
not create a file with what you want, and type
crontab file_name
Put in something like 
PATH=/bin:/usr/local/bin:/usr/bin
20 16 * * * command
This will cause command to be executed every day at 4:20p.m.  For
command you might like
rsync -qa --delete -e ssh /usr/home/you/directory
EMAIL:PROTECTED:save_it_here/.
(you probably don't need the -e ssh option).

-- 
Stephen Montgomery-Smith
EMAIL:PROTECTED
http://www.math.missouri.edu/~stephen
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/