Importing backup images from more than one piece of media from the command line
Backups that have expired may be imported by using the bpimport command, provided the media on which the backups reside have not yet been overwritten. Importing images is a two-stage process:
Phase 1
This is performed first and must be done on all media concerned with the backups to be imported (particularly if the backups have spanned over several tapes). This phase recreates catalog entries for the backups by populating the media server's Media Database (mediaDB) with the media IDs, and creating the header files of the backup images in the Image Database. After this phase is completed, the images may be browsed for selection for Phase 2 import.
Phase 2
This may be performed on all media involved in Phase 1, or if there is a selection of backup images desired for importing (after browsing), then the import may be done on the basis of backup IDs. This phase of the import creates the files file(s) of the backup images in the Image Database.