Database Conversion Tools Version 2.5 of the backup system uses a different tape ID format than previous versions. To use the 2.5 software with your existing backup database, you will need to use a conversion program (supplied here) to change all occurances of tape IDs to their new format. Version 2.5 also adds the notion of a tape type. Each tape has to be given a type for it to work properly in the system. This directory contains a perl script named convert-2.5 that will convert a pre-2.5 database into a 2.5 style database. The conversion consists of 3 steps: 1. Each tape in the tape database must have a tape type and format. The conversion script provides a simple command loop that allows you to view and modify the tape type assignments in an interactive fashion. 2. Each tape ID in the tape database has to be converted to the new format. Old tape IDs were simply numbers. The new scheme is "config-type-NNN" if you defined "config_name" to be something other than "" in backups.config, or just "type-NNN" if config_name is "" (the default). The type is the type of the tape, and NNN is a unique number within tapes of that type. This is done automatically once all of the tapes have been given types. 3. Every entry in the various backup database files has to be converted to use the new tape IDs in the "tflist" field. This is done automatically once the tape IDs are redone. It should be easy to configure convert-2.5. Edit global.defs to match your installation. In particular, make sure that $db_dir points at the correct database. If you are using a "normal" perl that creates DBM files with ".dir" (and ".pag") extensions, then set $dbext to be "dir". If you are using perl with the BSD "db" library routines, then set $dbext to "db". I do not think you will need to change anything else. To run the script, become root on the machine that holds the backup database. cd to this directory (backup/convert) and run something like this: perl -I. convert-2.5 and answer the questions. You need to use the right version of Perl to match the version used to create your database files - since we use a perl named "dperl" which has the BSD db routines linked in, I would type "dperl -I. convert-2.5". You can ^C out of the script any time in phase 1 (while you are assigning tape types). God Only Knows what might happen if you ^C while running phase 2 or 3 - don't try it. I can imagine it converting tape IDs from "test-exb-2" into "text-exb-text-exb-2" or just "text-exb-0" and so on. Yuch. Make a backup of your database directory before you start. Note that this only needs to be done once. Don't run it twice.