Tool to verify a data cartridge
Posted in 1999
Topics: Backup & Restore
We backup Informix data using ontape -s, and we have a question: How can we
make sure that every data cartridge will perform a successful restore? There
are some utility to verify this data cartridges without perform a restore?
Thanks
Marco
mailto:marcorvr@hotmail.com
Marco:
What you need to get a hold of is a tool called archecker. It ships with
version 7.30
of the product and this version(4.4) will validate both the 7.2 and 7.3 ontape
archives.
I have cut out some of the more interesting parts of some notes I have. Please
be aware that this tool is undocumented with version 7.3, it will be documented
with
onbar for version 9.2 & 8.3.
Purpose
------
The archecker is designed to validate a level 0 archive without
impacting the production system, ensuring that all data required to
restore a system exists on the archive tapes in the correct format.
Features
--------
- Checks a level 0 archive after the archive has completed
- Verification need not be done on the machine hosting the OnLine
system.
- Minimal system resources are required, even for large archives.
- Restartable at tape level.
- Detects missing pages and indicates affected table(s).
- Can also verify data in similar fashion to oncheck -cd.
- Progress monitor
Sample configuration file:
----------------------------
AC_STORAGE /tmp
AC_MSGPATH ./msg.log
AC_TAPEDEV /dev/rmt/0
AC_TAPEBLOCK 16
Valid Configuration file parameters
-----------------------------------
AC_STORAGE
The name of a directory where temporary files
are kept. The amount of space required is determined
by two factors: the number of chunks and the number of tables.
To give you a guide, a 50GB OnLine system should take about 20MB
(your mileage may vary).
DEFAULT: your current directory.
AC_MSGPATH
Pathname of archecker's message log. All error
and status messages will be placed in this file.
DEFAULT: ./msg.log
AC_TAPEDEV
Name of the tape device.
DEFAULT: none
AC_TAPEBLOCK
The size of the tape block in KB. It must match the
blocksize used for the archive, otherwise an error
will indicate the correct blocksize to use.
DEFAULT: none
Recommend syntax for ontape:
archecker -tdsv
Verbose Option
--------------
With the verbose option on, dots are to the screen--one
for every 25MB of data read from the tape. Each line of
dots represents 1GB of data. When the tape is changed,
the time is recorded.
Hope this helps,
---jmiller
Marco Rojas wrote:
> We backup Informix data using ontape -s, and we have a question: How can we
> make sure that every data cartridge will perform a successful restore? There
> are some utility to verify this data cartridges without perform a restore?
>
> Thanks
>
> Marco
> mailto:marcorvr@hotmail.com