-- Utilities --

Home Page

-- Backups --

sgb - Segmented Backup

-- Debugging --

idbg - Install Debugging

-- Documents --

irhg - Integrated Ruby Hackers Guide

THOR - World's Best Paper Airplane!

-- Downloads --

Downloads Available

-- Games --

Reaper's World

-- Utilities --

File Utilities

SGB - Segmented Backup System - Updated Dec 24, 2007


My personal computer now contains over 20gb of data and programs.   It has had many programs scavaged for the net installed, both in my Home Areas and in the /usr/local areas.   The method to backup this collection was getting very annoying.

The previous method of backup was to copy any system files and programs that were of interest into a specifed directory in my home area.   I then had to delete some very large files, primarily Glimpse  Files.   Glimpse Index's my entire Home area, and the index's understandably get very large.

After these preliminary procedures, I would backup my Home Directory into one large tar file.  The only medium for backing up data was, for my system, CD's.   That meant I had to perform a post backup procedure to split the tar file into 700k chucks that could be written to the CD's.

The problem I found was, if any of the CD's became unreliable, the entire dataset was lost.  The chunks from the CD's have to be reassembled without error, or absolutely nothing could be recovered.

This new backup system allows fine control over what files are stored and produces CD sized tar files that are each individually extractable.   Put simply, SGB  builds a list of all the files that need to be saved and tars them until the tar file exceeds a preset minimum size (680mg).   This program will automatically build the full set of CD sized tar files without intervention by the user.

SGB is controlled, like many of the file utilities, by a parameter file.   The following example is the parameter file(sgb1.prm)  I use for my backups:

TAR: /bvol/SGB_TAR       - Dir for storing Tar Files
BIG: /bvol/BIG_FILES     - Dir for files larger than 'LIM:'
LIM: 600                 - Size limit for files
EXD: /AtHome             - EXCLUDE Dir /AtHome
EXD: /BaseDir            - EXCLUDE Dir /BaseDir
EXD: /TmpStorage         - EXCLUDE Dir /TmpStorage
EXF: .glimpse_filenames  - EXCLUDE File .glimpse_filenames      
EXF: .glimpse_index      - EXCLUDE File .glimpse_index
EXF: .glimpse_index      - EXCLUDE File .glimpse_index           
EXF: .glimpse_messages   - EXCLUDE File .glimpse_messages        
EXF: .glimpse_partitions - EXCLUDE File .glimpse_partitions      
EXF: .glimpse_statistics - EXCLUDE File .glimpse_statistics      
EXF: .glimpse_turbo      - EXCLUDE File .glimpse_turbo           
EXF: .glimpse_filetimes  - EXCLUDE File .glimpse_filetimes      
SCN: /home/thornton      - BACKUP this directory tree

The calling sequence is: "sgb sgb1.prm".

The command "sgb" will display the expected parameter entries and exit.