dobackup.pl =========== Legal: Copyright 1997-2012 Webcon, Inc. This code is available for public use under the terms of the GNU Public License (GPL). See http://www.gnu.org/copyleft/gpl.html for license details. This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative. Webcon reserves the right to modify the licensing terms for any future version of this product. Contact: website: http://www.webcon.ca/opensource/dobackup/ email: dobackup@webcon.ca Quick overview: A flexible Perl script to handle unattended incremental backups of multiple servers. Handles multiple media sets with automatic media preparation and rotation, configurable 'what-to-backup', global exclusion patterns, user settable 'don't-backup-this-directory' metafiles. Design goal: zero-maintenance, nothing to do except change the media when told. Getting started: Media preparation: ------------------ Each unit of media used for dobackup must be uniquely identifiable. To this end, dobackup looks for a file named "MEDIAUNIT=" on the disk (in the mount-point really) before starting the backup. The reasons are two-fold: 1) to ensure that a media unit is really intended for backups, so you don't wipe out something important by accident, and 2) to verify that proper rotation of media units has occurred. To prepare each unit, format and mount it as usual, then: # touch MEDIAUNIT= # chmod 000 MEDIAUNIT= where is equal to the unit name, e.g. "JAZ01". If you have 4 JAZ cartridges, use names like JAZ01, JAZ02, JAZ03, JAZ04, then put each of these names in /etc/dobackup.conf, in the appropriate section. The names are really arbitrary. You could call the units "Larry", "Curly", and "Moe", if you wanted to, but they must be listed in the config file in the order in which they will be rotated. For example: [MediaSet=JazSetOne] Units= <