Email: [freyguy77@gmail.com]
Office: [302.831.6034]
Dr. Jeffrey T. Frey

 Frey:/ Programming Research Recipes Literature 
 Frey:/programming/ Clustering Dropbox2 MacNetworkInfo NetworkingAdditions UDCarillonServices ncutil TubeGen stigma 
 Frey:/programming/clustering/ autosync gqueue 
About autosync... July 26, 2007
The autosync utility can be used to backup (or mirror) a set of directories using the rsync utility to transport the data in question. I use this utility to backup user home directories to an NFS-mounted disk on several clusters.

The utility is written in Perl and should be fairly self-explanatory. Some features:
  • Configuration via external files -- minimal script editing necessary
  • Email-based reports of error conditions
  • Preserves the source directory structure within the target mirror directory
What is meant by that last feature is that autosync treats the mirror location as a virtual root directory, so backing-up /home/frey to /mirror yields the path /mirror/home/frey for the content.
» Questions? Comments?
Sample configuration file
#
# autosync.conf
#
# This file contains all directories/files that should be mirrored to
# the bikini-bottom archive for squidward.
#

# Where do we backup to?
$mirror-dir = /bikini-bottom/squidward-mirror

# For mailing of the report:
$mail-to = frey@udel.edu
$mail-subject = squidward.che:  autosync report

# Users' home directories:
/home/abhijit
/home/annemarie
/home/asawari
/home/danalis
/home/fsr23
/home/frey
/home/gbourb
/home/justin
/home/karim
/home/ludwig
/home/niket
/home/snyder
/home/soumitra
/home/stavros
/home/vlachos

# Hey, why not save the warewulf conf too?
/etc/warewulf
autosync  
version 1.0

An automated, multi-path backup tool that uses rsync for transport.
This software is made available under a BSD-style open source license.
autosync-100.tar.bz 2007-07-26