bcopy

The bcopy program can be used to copy one Bacula archive file to another. For example, you may copy a tape to a file, a file to a tape, a file to a file, or a tape to a tape. For tape to tape, you will need two tape drives. (a later version is planned that will buffer it to disk). In the process of making the copy, no record of the information written to the new Volume is stored in the catalog. This means that the new Volume, though it contains valid backup data, cannot be accessed directly from existing catalog entries. If you wish to be able to use the Volume with the Console restore command, for example, you must first bscan the new Volume into the catalog.

bcopy Command Options

Usage: bcopy [-d debug_level] <input-archive> <output-archive>
    -b bootstrap specify a bootstrap file
    -c <file> specify configuration file
    -dnn set debug level to nn
    -i specify input Volume names (separated by |)
    -o specify output Volume names (separated by |)
    -p proceed inspite of I/O errors
    -v verbose
    -w dir specify working directory (default /tmp)
    -? print this message

By using a bootstrap file, you can copy parts of a Bacula archive file to another archive.

One of the objectives of this program is to be able to recover as much data as possible from a damaged tape. However, the current version does not yet have this feature.

As this is a new program, any feedback on its use would be appreciated. In addition, I only have a single tape drive, so I have never been able to test this program with two tape drives.

See also

Go back to:

Go to:

Go back to the Tape/Volume Management chapter.

Go back to the main Bacula Enterprise Management page.