Unison, shared keys, crontab

Learn something new every day…

Summary:

I’m using Unison from the University of Pennsylvania to do a two-way synchronization of some of my work files. I’m basically backing up my files from my work laptop and desktop.

Shared Keys:

http://wiki.dreamhost.com/index.php/SSH#Passwordless_Login
(To set up shared keys… no password for ssh)

Crontab:

http://www.adminschoice.com/docs/crontab.htm
(Set up crontab to run unison at preset times)

My crontab:
30 9,15 * * * /sw/bin/unison -batch -servercmd /sw/bin/unison /WCLD ssh://jsa161mp.local//Volumes/jsa161mp700/WCLD

(Run every day at 9:30am and 3:30pm, -batch in unison runs without prompts)


Posted

in

, ,

by

Tags: