BU CDRW Data Format

Bu will always automatically break a dump into multiple volumes if all the data will not fit on one volume. Each volume has a standard ISO9660 filesystem with the Rock Ridge extensions and the following files.

 data.tar.gz       Gzip compressed tar file of all files on the volume.
                   Compression is on by default but if it is turned off
                   in the RC file, this will be a plain tar file.
 file-list         Text file containing a long directory listing of all
                   files on the volume.
 info              Text file containing volume and backup information.

In addition, the last volume contains the following file.

 MASTER-FILE-LIST  Long directory listing of the files for all volumes
                   combined.  This files contains a volume number
                   label at the top of the list of files for each volume.

The info file for all volumes but the last will look something like this.

 Label:         Quark's home directories
 Date:          Tue May  7 15:31:48 2002
 Type:          Directory list
 Mode:          Full
 Volume size:   1065.45 MB
 Volume number: 1
 Directories
 -----------
 /u1/home

The info file on the last volume has an extra field and shows the total number of volumes. It will look something like this.

 Label:         Quark's home directories
 Date:          Tue May  7 15:31:48 2002
 Type:          Directory list
 Mode:          Full
 Volume size:   1632.62 MB
 Total size:    2698.07 MB
 Volume number: 2 of 2
 Directories
 -----------
 /u1/home

Files are not split between volumes the way uncompressed multi-volume tar does. The last file in each volume is always complete. This has several advantages and a couple of disadvantages as listed below. I feel the disadvantages are minimal and are far outweighed by the advantages.

Advantages