home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
t
/
tapecat.zip
/
TAPECAT.DOC
< prev
next >
Wrap
Text File
|
1992-12-31
|
5KB
|
107 lines
Tape Catalogue
Add Files & Find File Versions 1.2
(C) 1992 It's Magic! PC Potions
9589 West Burgundy Avenue
Littleton, Co. 80123-3408
(303) 933-3531
While roaming through the Prodigy boards the other day I noticed a
request posted to CMS for a program that would catalogue the files
on a backup tape. "Boy could I use that!", I thought to myself. I
watched the note for a couple of days and noticed that there were no
answers.
Now, I realize that CMS's software is very capable, but it can be
confusing and awkward at times. I run two Hard Drives on my system,
each with 240 megs. Once a week, or so, I perform a total backup of
both drives with my Jumbo 250. Then, every day, I perform a
incremental backup in my once-a-day batch file. The CMS software is
fine when I want to restore a file from the total backup tapes, as each
contains only one volume each, but the CMS software becomes
unwieldy when I want to restore a file from the incremental tape.
Because of the multiple volumes on the tape I have to search through
practically every volume to located the version of the file I want to
restore. There has to be an easier way! Problem is I don't work for
CMS, and I don't know the device commands for their tape drives so I
can't write a program to read a tape's directory and search for a
filename.
The only alternative ,then, was to build my own library file when I
created each new volume on the incremental tape. DOS has the
ability to redirect the output from a program into a file. This is called
"piping". My incremental backups are performed from a batch file
using CMS's TAPE.EXE program. Since TAPE can be configured to
list the files it is putting into each volume, I should then be able to
redirect this output into a file. Great! So I added the necessary piping
commands to my batch file. Upon inspection I noticed that I was
getting a lot of extra lines of information in addition to the file names-
messy. My answer was to write two utility programs; ADDCAT.EXE (Add Files)
and FINDCAT.EXE (Find File).
ADDCAT.EXE will read the file created by redirecting CMS's TAPE
program's output, extract the filenames, and write them to a library
file.
FINDCAT.EXE is used to search the library file and restore a selected
file.
Setup is relatively simple. Copy the files ADDCAT.EXE, FINDCAT.EXE,
and TAPECAT.DOC into the same directory as CMS's TAPE.EXE
resides (usually c:\TAPE). Then modify or create your incremental
backup batch files. Here's what I do it:
To perform my incremental backups I have the following lines in my
daily batch file-
CD\TAPE
TAPE BACKUP C:\ /A/-C/J/-K/M/P/-R/S > TEMPTAPE.CAT
ADDCAT
TAPE BACKUP D:\ /A/-C/J/-K/M/P/-R/S > TEMPTAPE.CAT
ADDCAT
Your parameters to the TAPE BACKUP command may vary, but be
sure to include the "/P" parameter. Also, the "> TEMPTAPE.CAT" is
required by ADDCAT.EXE. As you can see after each volume is
created ADDLIB is run to update the library file- TAPE.CAT.
ADDLIB will only function with version 2.54 and 3.0X of CMS's TAPE
program. Call if you are using another version.
To restore a program from the incremental tape use the FINDCAT.EXE
program.
Attach to the directory in which the files TAPE.EXE, FINDCAT.EXE
and TAPE.CAT reside.
Type FINDCAT at the DOS prompt to run the Find File program.
These programs are still a bit rough-around-the-edges so, if you have any
problems please call (303-933-3531) or message me on Prodigy (VGGS51A),
or CIS 70143,3530.
Good Luck!
--------------------------------------------------------------------------
Version 1.1 changes
Improved error handeling.
Added TAPE.EXE 3.01 support.
Re-zipped to correct corruption in Version 1.0 zip file (sorry).
Version 1.2 changes
Product and File name changes all around
Added TAPE.EXE 3.03 support
ADDCAT.EXE will now support drives connected to floppy controller
boards and continue to work on systems with CMS's controller boards
FINDCAT.EXE better path/filename editing, plus view of Finds added.
Comming soon:
Prettier interface. (Still trying to get to it!)
****************************************************************************
NEW PRODUCT - AVAILABLE SOON!
Tape Librarian System to catalogue multiple tapes with multiple volumes
per tape. (in beta testing)