Custom Volume Format

Starting with Bacula Enterprise 10.2.4, the volume format is automatically detected from the NDMP system. The volume_format option should not be required anymore.

The NDMP Plugin should be aware of the volume structure in order to detect if the administrator wants to restore to a new volume (where=/dev/vol_tmp) or inside a subdirectory of the targeted volume (where=/tmp).

The NDMP Plugin will automatically detect the following structure:

  • /vol/ (used on NetApp)

  • /root_vdm/ (used on sone EMC hardware)

If your volumes use a different naming scheme, you must use the volume_format option.

/dev/volume_home         -> volume_format=/dev/
/rootvolume/volume_tmp   -> volume_format=/rootvolume/
/VG/volume_var           -> volume_format=/VG/

The actual volume format and the allowed flexibility is vendor specific. In general, if volumes can be created with plain names and no path in the NAS configuration frontend, a fixed volume format will be in use.

FileSet {
 Name = NDMPFS
 ...
 Include {
   Plugin = "ndmp:host=nasbox user=root pass=root file=/dev/vol1 volume_format=/dev/"
 }
}

For example, on NetApp, the volume format is:

/vol/vol1
/vol/vol2
...

The common part to distinguish volumes and directories is /vol/. On Solaris with ZFS, volumes are stored in /dev/.

/dev/Volume01
/dev/Volume02
/dev/Volume03

If volumes are organized like in this example:

/FS1/
/FS2/
/FS3/

The volume_format should be configured as /FS – note that there is no trailing slash here!

Go back to the main NDMP Configuration.

Go back to the main NDMP Plugin page.

Go back to the main Dedicated Backup Solutions page.