jpbackup -- Linux backup scripts (focus on OnStream DI-30 drive and RedHat)
http://www.jpsdomain.org/linux/OnStream_DI-30+RedHat_Backup_mini-HOWTO.html
v0.9 25-Feb-2001 JP Vossen (jp@jpsdomain.org)
v0.9.1 03-Jun-2001 JPV Updated for RPMs and minor typos


Copyright 2001 JP Vossen

These scripts and documentation are distributed in the hope that they will
be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
General Public License for more details.

In no event shall the author be liable for any damages whatsoever
(including, without limitation, damages for loss of business profits,
business interruption, loss of business information, or any other
pecuniary loss) arising out of the use of or inability to use these scripts
and documentation.



This is a set of scripts and documentation to facilitate backups of RedHat
Linux, using an OnStream DI-30 tape drive.  However, with very minor
editing it should work for any Linux dirstibution, and for any supported
tape drive.  It rotates through Monday_1 to 3 and Monthly_1 to 5 media for
a rolling 5 month window.  The jpbackup shell script is heavily commented
-- review for more details.

It uses afio as the backup engine.  There are no command line options.
It's intended for a "set it and forget it" configuration, schdeuled via
cron.  You just have to remember to swap tapes each week.  It's also not
really set up as a "user-mode" program -- it wants to be run by root.



REQUIRES:
---------
REQUIRES:
afio, developed and tested with afio-2.4.6, which has a minor bug that prints
"-- compressed" twice during verify operations.  That bug is fixed in my RPMs
(http://www.jpsdomain.org/public/public.html#rpms).
See http://www.linux.org/apps/AppId_266.html
and http://metalab.unc.edu/pub/linux/system/backup/afio-2.4.6.tgz (unpactched)

calcsum.sh requires ksh to be installed on the system.  This is provided
by the RedHat "pdksh" package.

RDISK optionally requires mkbootdisk, fdisk and mkkickstart.  Lack of these
programs will not affect backups, but then RDISK will not be able to gather
some of the information it tries to gather before a backup.  fdisk is provided
by the util-linux package, the other two are provided by packages of the same
name as the tool.



FILES:
------
README		This file
OnStream_DI-30-RedHat_Backup_mini-HOWTO.*	(v0.9) The main documentation
Sample_Tape_Rotation_Schedule.html		A Sample tape rotation
						form/schedule

jpbackup	(v0.9.2) The main script and heart of the system
tape		(v0.9.2) A gnenric tape front-end (may require editing)
calcsum.ksh	(v1.0) Takes integer input and calculates the sum
configbackup	(v1.0) Copies various important files to some specified
			backup location
RDISK		(v1.7) Gathers various recovery information

These are supplied, but would also be created by jpbackup on first run.
nobackup	Directories never to backup (may require editing)
nocompress	File types never to try and compress (may require editing)
lastmonthly	The number of the last monthly tape
lasttape	The type (monthly or weekly) of the last tape
lastweekly	The number of the last weekly tape



CHANGES:
--------
See the bottom of OnStream_DI-30-RedHat_Backup_mini-HOWTO.* for change log.



BUGS:
-----

1.  See TODO file.


