# Example vchanger 1.0.2 config file # # Storage Resource Name of the Storage resource defined in bacula-dir.conf # that is associated with this changer. # [Default: 'vchanger' ] #Storage Resource = "vchanger" # # User User to run as when invoked by root. This must be the # owner of the volume files controlled by this changer, and # so will need to be the same user that bacula-sd runs as. # [Default: bacula ] #User = bacula # # Group Group to run as when invoked by root. This should be the # owner group of the volume files controlled by this changer, # and should also be the default group of the user that # bacula-sd runs as. # [Default: tape ] #group = tape # # Work Dir Directory where virtual drive and magazine state information # and symlinks for this changer are stored. # [Default: /var/spool/vchanger/{StorageResource} ] #work dir = "/var/spool/vchanger/vcahnger" # # Logfile Path to log file for this changer. # [Default: {WorkDir}/{StorageResource}.log ] #logfile = "/var/spool/vchanger/vchanger.log" # # Log Level Sets the level of detail being logged. An integer value from # 0-7 is expected, where 7 logs the most detail. The levels # correspond to LOG_EMERG - LOG_DEBUG. (See man 3 syslog) # [Default: 3 (LOG_ERR) ] #log_level = 3 # # bconsole Sets the path to the bconsole binary that vchanger will run # in order to send 'update slots' and 'label barcodes' commands # to Bacula. To disable sending commands to Bacula, set # bconsole="". # [Default: "/usr/sbin/bconsole" ] #bconsole = "/usr/sbin/bconsole" # # bconsole config Path to the config file bconsole will use when vchanger # invokes bconsole. By default, bconsole will be invoked # without the -c flag. The file must be readable by the user # vchanger is run as. # [Default: none ] #bconsole config = /etc/bacula/bconsole.conf # # Default Pool Name of the pool that new volumes created by vcahnger # should be placed into when using bconsole to send a # 'label barcodes' command. # [Default: "Scratch" ] #default pool = "Scratch" # # Magazine [Required] Gives the list of magazines known to this changer. # One or more magazine directives must be specified. A magazine # may be specified as either a directory path or as the UUID # of a filesystem partition. A magazine is specified by UUID # by prefixing the string "UUID:" to the filesystem's UUID. # For magazines specified by UUID, the mountpoint of the # filesystem will be queried from the system. Note that vchanger # does not attempt to mount the magazines that are specified # by filesystem UUID. Vchanger utilizes all magazines that are # already mounted at the time it is invoked. # [Default: none ] #magazine = "uuid:4fcb1422-f15c-4d7a-8a32-a4dcc0af5e00" #Magazine = "/mnt/backup2"