configure

Bareos with Onesimus extensions

Configure director resources.

Synopsis

configure add client name=<name> [description=<description>]
                     [protocol=<Native|NDMPV2|NDMPV3|NDMPV4>]
                     [authtype=<None|Clear|MD5>] address=<address>
                     [lanaddress=<lanaddress>] [port=<port>]
                     [username=<username>] password=<password>
                     [catalog=<catalog>] [passive=<yes|no>]
                     [connectionfromdirectortoclient=<yes|no>]
                     [connectionfromclienttodirector=<yes|no>]
                     [enabled=<yes|no>] [hardquota=<hardquota>]
                     [softquota=<softquota>]
                     [softquotagraceperiod=<softquotagraceperiod>]
                     [strictquotas=<yes|no>] [quotaincludefailedjobs=<yes|no>]
                     [heartbeatinterval=<heartbeatinterval>]
                     [maximumconcurrentjobs=<maximumconcurrentjobs>]
                     [maximumbandwidthperjob=<maximumbandwidthperjob>]
                     [ndmploglevel=<ndmploglevel>]
                     [ndmpblocksize=<ndmpblocksize>] [ndmpuselmdb=<yes|no>]
                     [tlsauthenticate=<yes|no>] [tlsenable=<yes|no>]
                     [tlsrequire=<yes|no>] [tlscipherlist=<tlscipherlist>]
                     [tlsciphersuites=<tlsciphersuites>]
                     [tlsdhfile=<tlsdhfile>] [tlsprotocol=<tlsprotocol>]
                     [tlsverifypeer=<yes|no>]
                     [tlscacertificatefile=<tlscacertificatefile>]
                     [tlscacertificatedir=<tlscacertificatedir>]
                     [tlscertificaterevocationlist=<tlscertificaterevocationlist>]
                     [tlscertificate=<tlscertificate>] [tlskey=<tlskey>]
                     [tlsallowedcn=<tlsallowedcn> ...]
configure add jobdefs name=<name> [description=<description>] type=<type>
                      [protocol=<protocol>] [backupformat=<backupformat>]
                      [level=<level>] messages=<messages>
                      [storage=<storage> ...] pool=<pool>
                      [fullbackuppool=<fullbackuppool>]
                      [virtualfullbackuppool=<virtualfullbackuppool>]
                      [incrementalbackuppool=<incrementalbackuppool>]
                      [differentialbackuppool=<differentialbackuppool>]
                      [nextpool=<nextpool>] [client=<client>]
                      [fileset=<fileset>] [schedule=<schedule>]
                      [jobtoverify=<jobtoverify>] [catalog=<catalog>]
                      [jobdefs=<jobdefs>] [run=<run> ...] [where=<where>]
                      [regexwhere=<regexwhere>] [stripprefix=<stripprefix>]
                      [addprefix=<addprefix>] [addsuffix=<addsuffix>]
                      [bootstrap=<bootstrap>]
                      [writebootstrap=<writebootstrap>]
                      [replace=<Always|IfNewer|IfOlder|Never>]
                      [maximumbandwidth=<maximumbandwidth>]
                      [maxrunschedtime=<maxrunschedtime>]
                      [maxruntime=<maxruntime>]
                      [fullmaxruntime=<fullmaxruntime>]
                      [incrementalmaxruntime=<incrementalmaxruntime>]
                      [differentialmaxruntime=<differentialmaxruntime>]
                      [maxwaittime=<maxwaittime>]
                      [maxstartdelay=<maxstartdelay>]
                      [maxfullinterval=<maxfullinterval>]
                      [maxvirtualfullinterval=<maxvirtualfullinterval>]
                      [maxdiffinterval=<maxdiffinterval>]
                      [prefixlinks=<yes|no>] [prunejobs=<yes|no>]
                      [prunefiles=<yes|no>] [prunevolumes=<yes|no>]
                      [purgemigrationjob=<yes|no>] [enabled=<yes|no>]
                      [spoolattributes=<yes|no>] [spooldata=<yes|no>]
                      [spoolsize=<spoolsize>] [rerunfailedlevels=<yes|no>]
                      [prefermountedvolumes=<yes|no>]
                      [runbeforejob=<runbeforejob> ...]
                      [runafterjob=<runafterjob> ...]
                      [runafterfailedjob=<runafterfailedjob> ...]
                      [clientrunbeforejob=<clientrunbeforejob> ...]
                      [clientrunafterjob=<clientrunafterjob> ...]
                      [maximumconcurrentjobs=<maximumconcurrentjobs>]
                      [rescheduleonerror=<yes|no>]
                      [rescheduleinterval=<rescheduleinterval>]
                      [rescheduletimes=<rescheduletimes>]
                      [priority=<priority>] [allowmixedpriority=<yes|no>]
                      [selectionpattern=<selectionpattern>]
                      [selectiontype=<selectiontype>] [accurate=<yes|no>]
                      [allowduplicatejobs=<yes|no>]
                      [cancellowerlevelduplicates=<yes|no>]
                      [cancelqueuedduplicates=<yes|no>]
                      [cancelrunningduplicates=<yes|no>]
                      [savefilehistory=<yes|no>]
                      [filehistorysize=<filehistorysize>]
                      [fdpluginoptions=<fdpluginoptions> ...]
                      [sdpluginoptions=<sdpluginoptions> ...]
                      [dirpluginoptions=<dirpluginoptions> ...]
                      [maxconcurrentcopies=<maxconcurrentcopies>]
                      [alwaysincremental=<yes|no>]
                      [alwaysincrementaljobretention=<alwaysincrementaljobretention>]
                      [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber>]
                      [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage>]
                      [maxfullconsolidations=<maxfullconsolidations>]
                      [runonincomingconnectinterval=<runonincomingconnectinterval>]
configure add job name=<name> [description=<description>] type=<type>
                  [protocol=<protocol>] [backupformat=<backupformat>]
                  [level=<level>] messages=<messages> [storage=<storage> ...]
                  pool=<pool> [fullbackuppool=<fullbackuppool>]
                  [virtualfullbackuppool=<virtualfullbackuppool>]
                  [incrementalbackuppool=<incrementalbackuppool>]
                  [differentialbackuppool=<differentialbackuppool>]
                  [nextpool=<nextpool>] [client=<client>] [fileset=<fileset>]
                  [schedule=<schedule>] [jobtoverify=<jobtoverify>]
                  [catalog=<catalog>] [jobdefs=<jobdefs>] [run=<run> ...]
                  [where=<where>] [regexwhere=<regexwhere>]
                  [stripprefix=<stripprefix>] [addprefix=<addprefix>]
                  [addsuffix=<addsuffix>] [bootstrap=<bootstrap>]
                  [writebootstrap=<writebootstrap>]
                  [replace=<Always|IfNewer|IfOlder|Never>]
                  [maximumbandwidth=<maximumbandwidth>]
                  [maxrunschedtime=<maxrunschedtime>]
                  [maxruntime=<maxruntime>] [fullmaxruntime=<fullmaxruntime>]
                  [incrementalmaxruntime=<incrementalmaxruntime>]
                  [differentialmaxruntime=<differentialmaxruntime>]
                  [maxwaittime=<maxwaittime>] [maxstartdelay=<maxstartdelay>]
                  [maxfullinterval=<maxfullinterval>]
                  [maxvirtualfullinterval=<maxvirtualfullinterval>]
                  [maxdiffinterval=<maxdiffinterval>] [prefixlinks=<yes|no>]
                  [prunejobs=<yes|no>] [prunefiles=<yes|no>]
                  [prunevolumes=<yes|no>] [purgemigrationjob=<yes|no>]
                  [enabled=<yes|no>] [spoolattributes=<yes|no>]
                  [spooldata=<yes|no>] [spoolsize=<spoolsize>]
                  [rerunfailedlevels=<yes|no>] [prefermountedvolumes=<yes|no>]
                  [runbeforejob=<runbeforejob> ...]
                  [runafterjob=<runafterjob> ...]
                  [runafterfailedjob=<runafterfailedjob> ...]
                  [clientrunbeforejob=<clientrunbeforejob> ...]
                  [clientrunafterjob=<clientrunafterjob> ...]
                  [maximumconcurrentjobs=<maximumconcurrentjobs>]
                  [rescheduleonerror=<yes|no>]
                  [rescheduleinterval=<rescheduleinterval>]
                  [rescheduletimes=<rescheduletimes>] [priority=<priority>]
                  [allowmixedpriority=<yes|no>]
                  [selectionpattern=<selectionpattern>]
                  [selectiontype=<selectiontype>] [accurate=<yes|no>]
                  [allowduplicatejobs=<yes|no>]
                  [cancellowerlevelduplicates=<yes|no>]
                  [cancelqueuedduplicates=<yes|no>]
                  [cancelrunningduplicates=<yes|no>]
                  [savefilehistory=<yes|no>]
                  [filehistorysize=<filehistorysize>]
                  [fdpluginoptions=<fdpluginoptions> ...]
                  [sdpluginoptions=<sdpluginoptions> ...]
                  [dirpluginoptions=<dirpluginoptions> ...]
                  [maxconcurrentcopies=<maxconcurrentcopies>]
                  [alwaysincremental=<yes|no>]
                  [alwaysincrementaljobretention=<alwaysincrementaljobretention>]
                  [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber>]
                  [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage>]
                  [maxfullconsolidations=<maxfullconsolidations>]
                  [runonincomingconnectinterval=<runonincomingconnectinterval>]
configure add storage name=<name> [description=<description>]
                      [protocol=<Native|NDMPV2|NDMPV3|NDMPV4>]
                      [authtype=<None|Clear|MD5>] address=<address>
                      [lanaddress=<lanaddress>] [port=<port>]
                      [username=<username>] password=<password>
                      device=<device> mediatype=<mediatype>
                      [autochanger=<yes|no>] [enabled=<yes|no>]
                      [allowcompression=<yes|no>]
                      [heartbeatinterval=<heartbeatinterval>]
                      [cachestatusinterval=<cachestatusinterval>]
                      [maximumconcurrentjobs=<maximumconcurrentjobs>]
                      [maximumconcurrentreadjobs=<maximumconcurrentreadjobs>]
                      [pairedstorage=<pairedstorage>]
                      [maximumbandwidthperjob=<maximumbandwidthperjob>]
                      [ndmpchangerdevice=<ndmpchangerdevice>]
                      [tlsauthenticate=<yes|no>] [tlsenable=<yes|no>]
                      [tlsrequire=<yes|no>] [tlscipherlist=<tlscipherlist>]
                      [tlsciphersuites=<tlsciphersuites>]
                      [tlsdhfile=<tlsdhfile>] [tlsprotocol=<tlsprotocol>]
                      [tlsverifypeer=<yes|no>]
                      [tlscacertificatefile=<tlscacertificatefile>]
                      [tlscacertificatedir=<tlscacertificatedir>]
                      [tlscertificaterevocationlist=<tlscertificaterevocationlist>]
                      [tlscertificate=<tlscertificate>] [tlskey=<tlskey>]
                      [tlsallowedcn=<tlsallowedcn> ...]
configure add catalog name=<name> [description=<description>]
                      [dbaddress=<dbaddress>] [dbport=<dbport>]
                      [dbpassword=<dbpassword>] dbuser=<dbuser>
                      dbname=<dbname> [dbsocket=<dbsocket>]
                      [reconnect=<yes|no>] [exitonfatal=<yes|no>]
                      [minconnections=<minconnections>]
                      [maxconnections=<maxconnections>]
                      [incconnections=<incconnections>]
                      [idletimeout=<idletimeout>]
                      [validatetimeout=<validatetimeout>]
configure add schedule name=<name> [description=<description>] [run=<run> ...]
                       [enabled=<yes|no>]
configure add fileset name=<name> [description=<description>]
                      [ignorefilesetchanges=<yes|no>] [enablevss=<yes|no>]
configure add pool name=<name> [description=<description>]
                   [pooltype=<pooltype>] [labelformat=<labelformat>]
                   [cleaningprefix=<cleaningprefix>] [usecatalog=<yes|no>]
                   [purgeoldestvolume=<yes|no>]
                   [actiononpurge=<None|Truncate>]
                   [recycleoldestvolume=<yes|no>]
                   [recyclecurrentvolume=<yes|no>]
                   [maximumvolumes=<maximumvolumes>]
                   [maximumvolumejobs=<maximumvolumejobs>]
                   [maximumvolumefiles=<maximumvolumefiles>]
                   [maximumvolumebytes=<maximumvolumebytes>]
                   [catalogfiles=<yes|no>] [volumeretention=<volumeretention>]
                   [volumeuseduration=<volumeuseduration>]
                   [migrationtime=<migrationtime>]
                   [migrationhighbytes=<migrationhighbytes>]
                   [migrationlowbytes=<migrationlowbytes>]
                   [nextpool=<nextpool>] [storage=<storage> ...]
                   [autoprune=<yes|no>] [recycle=<yes|no>]
                   [recyclepool=<recyclepool>] [scratchpool=<scratchpool>]
                   [catalog=<catalog>] [minimumblocksize=<minimumblocksize>]
                   [maximumblocksize=<maximumblocksize>]
configure add messages [name=<name>] [description=<description>]
                       [mailcommand=<mailcommand>]
                       [operatorcommand=<operatorcommand>]
                       [timestampformat=<timestampformat>]
                       [syslog=<syslog> ...] [mail=<mail> ...]
                       [mailonerror=<mailonerror> ...]
                       [mailonsuccess=<mailonsuccess> ...] [file=<file> ...]
                       [append=<append> ...] [stdout=<stdout> ...]
                       [stderr=<stderr> ...] [director=<director> ...]
                       [console=<console> ...] [operator=<operator> ...]
                       [catalog=<catalog> ...]
configure add counter name=<name> [description=<description>]
                      [minimum=<minimum>] [maximum=<maximum>]
                      [wrapcounter=<wrapcounter>] [catalog=<catalog>]
configure add profile name=<name> [description=<description>]
                      [jobacl=<jobacl> ...] [clientacl=<clientacl> ...]
                      [storageacl=<storageacl> ...]
                      [scheduleacl=<scheduleacl> ...] [poolacl=<poolacl> ...]
                      [commandacl=<commandacl> ...]
                      [filesetacl=<filesetacl> ...]
                      [catalogacl=<catalogacl> ...] [whereacl=<whereacl> ...]
                      [pluginoptionsacl=<pluginoptionsacl> ...]
configure add console name=<name> password=<password>
                      profile=<profile>[,...] ... [description=<description>]
configure add user name=<name> [description=<description>]
                   [jobacl=<jobacl> ...] [clientacl=<clientacl> ...]
                   [storageacl=<storageacl> ...]
                   [scheduleacl=<scheduleacl> ...] [poolacl=<poolacl> ...]
                   [commandacl=<commandacl> ...] [filesetacl=<filesetacl> ...]
                   [catalogacl=<catalogacl> ...] [whereacl=<whereacl> ...]
                   [pluginoptionsacl=<pluginoptionsacl> ...]
                   [profile=<profile> ...]
configure export client=<client>
configure read [client=<client> | job=<job> | pool=<pool> | storage=<storage>]
configure update client=<client> [yes] [description=<description> ...]
                        [protocol=<Native|NDMPV2|NDMPV3|NDMPV4> ...]
                        [authtype=<None|Clear|MD5> ...]
                        [address=<address> ...] [fdaddress=<fdaddress> ...]
                        [lanaddress=<lanaddress> ...] [port=<port> ...]
                        [fdport=<fdport> ...] [username=<username> ...]
                        [password=<password> ...]
                        [fdpassword=<fdpassword> ...] [catalog=<catalog> ...]
                        [passive=<yes|no> ...]
                        [connectionfromdirectortoclient=<yes|no> ...]
                        [connectionfromclienttodirector=<yes|no> ...]
                        [enabled=<yes|no> ...] [hardquota=<hardquota> ...]
                        [softquota=<softquota> ...]
                        [softquotagraceperiod=<softquotagraceperiod> ...]
                        [strictquotas=<yes|no> ...]
                        [quotaincludefailedjobs=<yes|no> ...]
                        [heartbeatinterval=<heartbeatinterval> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [maximumbandwidthperjob=<maximumbandwidthperjob> ...]
                        [ndmploglevel=<ndmploglevel> ...]
                        [ndmpblocksize=<ndmpblocksize> ...]
                        [ndmpuselmdb=<yes|no> ...]
                        [tlsauthenticate=<yes|no> ...]
                        [tlsenable=<yes|no> ...] [tlsrequire=<yes|no> ...]
                        [tlscipherlist=<tlscipherlist> ...]
                        [tlsciphersuites=<tlsciphersuites> ...]
                        [tlsdhfile=<tlsdhfile> ...]
                        [tlsprotocol=<tlsprotocol> ...]
                        [tlsverifypeer=<yes|no> ...]
                        [tlscacertificatefile=<tlscacertificatefile> ...]
                        [tlscacertificatedir=<tlscacertificatedir> ...]
                        [tlscertificaterevocationlist=<tlscertificaterevocationlist> ...]
                        [tlscertificate=<tlscertificate> ...]
                        [tlskey=<tlskey> ...]
                        [tlsallowedcn=<tlsallowedcn> ...]
configure update job=<job> [yes] [description=<description> ...]
                        [type=<type> ...] [protocol=<protocol> ...]
                        [backupformat=<backupformat> ...] [level=<level> ...]
                        [messages=<messages> ...] [storage=<storage> ...]
                        [pool=<pool> ...]
                        [fullbackuppool=<fullbackuppool> ...]
                        [virtualfullbackuppool=<virtualfullbackuppool> ...]
                        [incrementalbackuppool=<incrementalbackuppool> ...]
                        [differentialbackuppool=<differentialbackuppool> ...]
                        [nextpool=<nextpool> ...] [client=<client> ...]
                        [fileset=<fileset> ...] [schedule=<schedule> ...]
                        [jobtoverify=<jobtoverify> ...]
                        [verifyjob=<verifyjob> ...] [catalog=<catalog> ...]
                        [jobdefs=<jobdefs> ...] [run=<run> ...]
                        [where=<where> ...] [regexwhere=<regexwhere> ...]
                        [stripprefix=<stripprefix> ...]
                        [addprefix=<addprefix> ...]
                        [addsuffix=<addsuffix> ...]
                        [bootstrap=<bootstrap> ...]
                        [writebootstrap=<writebootstrap> ...]
                        [replace=<Always|IfNewer|IfOlder|Never> ...]
                        [maximumbandwidth=<maximumbandwidth> ...]
                        [maxrunschedtime=<maxrunschedtime> ...]
                        [maxruntime=<maxruntime> ...]
                        [fullmaxruntime=<fullmaxruntime> ...]
                        [incrementalmaxruntime=<incrementalmaxruntime> ...]
                        [differentialmaxruntime=<differentialmaxruntime> ...]
                        [maxwaittime=<maxwaittime> ...]
                        [maxstartdelay=<maxstartdelay> ...]
                        [maxfullinterval=<maxfullinterval> ...]
                        [maxvirtualfullinterval=<maxvirtualfullinterval> ...]
                        [maxdiffinterval=<maxdiffinterval> ...]
                        [prefixlinks=<yes|no> ...] [prunejobs=<yes|no> ...]
                        [prunefiles=<yes|no> ...] [prunevolumes=<yes|no> ...]
                        [purgemigrationjob=<yes|no> ...]
                        [enabled=<yes|no> ...] [spoolattributes=<yes|no> ...]
                        [spooldata=<yes|no> ...] [spoolsize=<spoolsize> ...]
                        [rerunfailedlevels=<yes|no> ...]
                        [prefermountedvolumes=<yes|no> ...]
                        [runbeforejob=<runbeforejob> ...]
                        [runafterjob=<runafterjob> ...]
                        [runafterfailedjob=<runafterfailedjob> ...]
                        [clientrunbeforejob=<clientrunbeforejob> ...]
                        [clientrunafterjob=<clientrunafterjob> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [rescheduleonerror=<yes|no> ...]
                        [rescheduleinterval=<rescheduleinterval> ...]
                        [rescheduletimes=<rescheduletimes> ...]
                        [priority=<priority> ...]
                        [allowmixedpriority=<yes|no> ...]
                        [selectionpattern=<selectionpattern> ...]
                        [runscript=<runscript> ...]
                        [selectiontype=<selectiontype> ...]
                        [accurate=<yes|no> ...]
                        [allowduplicatejobs=<yes|no> ...]
                        [cancellowerlevelduplicates=<yes|no> ...]
                        [cancelqueuedduplicates=<yes|no> ...]
                        [cancelrunningduplicates=<yes|no> ...]
                        [savefilehistory=<yes|no> ...]
                        [filehistorysize=<filehistorysize> ...]
                        [fdpluginoptions=<fdpluginoptions> ...]
                        [sdpluginoptions=<sdpluginoptions> ...]
                        [dirpluginoptions=<dirpluginoptions> ...]
                        [maxconcurrentcopies=<maxconcurrentcopies> ...]
                        [alwaysincremental=<yes|no> ...]
                        [alwaysincrementaljobretention=<alwaysincrementaljobretention> ...]
                        [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber> ...]
                        [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage> ...]
                        [maxfullconsolidations=<maxfullconsolidations> ...]
                        [runonincomingconnectinterval=<runonincomingconnectinterval> ...]
                        [newclient=<newclient> ...]
                        [newfileset=<newfileset> ...] [newpool=<newpool> ...]
                        [newstorage=<newstorage> ...]
                        [newschedule=<newschedule> ...]
configure update jobdefs=<jobdefs> [yes] [description=<description> ...]
                        [type=<type> ...] [protocol=<protocol> ...]
                        [backupformat=<backupformat> ...] [level=<level> ...]
                        [messages=<messages> ...] [storage=<storage> ...]
                        [pool=<pool> ...]
                        [fullbackuppool=<fullbackuppool> ...]
                        [virtualfullbackuppool=<virtualfullbackuppool> ...]
                        [incrementalbackuppool=<incrementalbackuppool> ...]
                        [differentialbackuppool=<differentialbackuppool> ...]
                        [nextpool=<nextpool> ...] [client=<client> ...]
                        [fileset=<fileset> ...] [schedule=<schedule> ...]
                        [jobtoverify=<jobtoverify> ...]
                        [verifyjob=<verifyjob> ...] [catalog=<catalog> ...]
                        [run=<run> ...] [where=<where> ...]
                        [regexwhere=<regexwhere> ...]
                        [stripprefix=<stripprefix> ...]
                        [addprefix=<addprefix> ...]
                        [addsuffix=<addsuffix> ...]
                        [bootstrap=<bootstrap> ...]
                        [writebootstrap=<writebootstrap> ...]
                        [replace=<Always|IfNewer|IfOlder|Never> ...]
                        [maximumbandwidth=<maximumbandwidth> ...]
                        [maxrunschedtime=<maxrunschedtime> ...]
                        [maxruntime=<maxruntime> ...]
                        [fullmaxruntime=<fullmaxruntime> ...]
                        [incrementalmaxruntime=<incrementalmaxruntime> ...]
                        [differentialmaxruntime=<differentialmaxruntime> ...]
                        [maxwaittime=<maxwaittime> ...]
                        [maxstartdelay=<maxstartdelay> ...]
                        [maxfullinterval=<maxfullinterval> ...]
                        [maxvirtualfullinterval=<maxvirtualfullinterval> ...]
                        [maxdiffinterval=<maxdiffinterval> ...]
                        [prefixlinks=<yes|no> ...] [prunejobs=<yes|no> ...]
                        [prunefiles=<yes|no> ...] [prunevolumes=<yes|no> ...]
                        [purgemigrationjob=<yes|no> ...]
                        [enabled=<yes|no> ...] [spoolattributes=<yes|no> ...]
                        [spooldata=<yes|no> ...] [spoolsize=<spoolsize> ...]
                        [rerunfailedlevels=<yes|no> ...]
                        [prefermountedvolumes=<yes|no> ...]
                        [runbeforejob=<runbeforejob> ...]
                        [runafterjob=<runafterjob> ...]
                        [runafterfailedjob=<runafterfailedjob> ...]
                        [clientrunbeforejob=<clientrunbeforejob> ...]
                        [clientrunafterjob=<clientrunafterjob> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [rescheduleonerror=<yes|no> ...]
                        [rescheduleinterval=<rescheduleinterval> ...]
                        [rescheduletimes=<rescheduletimes> ...]
                        [priority=<priority> ...]
                        [allowmixedpriority=<yes|no> ...]
                        [selectionpattern=<selectionpattern> ...]
                        [runscript=<runscript> ...]
                        [selectiontype=<selectiontype> ...]
                        [accurate=<yes|no> ...]
                        [allowduplicatejobs=<yes|no> ...]
                        [cancellowerlevelduplicates=<yes|no> ...]
                        [cancelqueuedduplicates=<yes|no> ...]
                        [cancelrunningduplicates=<yes|no> ...]
                        [savefilehistory=<yes|no> ...]
                        [filehistorysize=<filehistorysize> ...]
                        [fdpluginoptions=<fdpluginoptions> ...]
                        [sdpluginoptions=<sdpluginoptions> ...]
                        [dirpluginoptions=<dirpluginoptions> ...]
                        [maxconcurrentcopies=<maxconcurrentcopies> ...]
                        [alwaysincremental=<yes|no> ...]
                        [alwaysincrementaljobretention=<alwaysincrementaljobretention> ...]
                        [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber> ...]
                        [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage> ...]
                        [maxfullconsolidations=<maxfullconsolidations> ...]
                        [runonincomingconnectinterval=<runonincomingconnectinterval> ...]
                        [newclient=<newclient> ...]
                        [newfileset=<newfileset> ...] [newpool=<newpool> ...]
                        [newstorage=<newstorage> ...]
                        [newschedule=<newschedule> ...]
configure update schedule=<schedule> [yes] [description=<description> ...]
                        [run=<run> ...] [enabled=<yes|no> ...]
configure update fileset=<fileset> [yes] [description=<description> ...]
                        [include=<include> ...] [exclude=<exclude> ...]
                        [ignorefilesetchanges=<yes|no> ...]
                        [enablevss=<yes|no> ...]
configure delete client=<client>
configure delete job=<job>
configure delete jobdefs=<jobdefs>
configure delete schedule=<schedule>
configure delete fileset=<fileset>

Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.

Description

Adds resources to the configuration and exports them. Onesimus extensions read, update and delete resources of the editable types (client, job, jobdefs, schedule, fileset); every change is checked like a reload and written to the configuration directory.

Subcommands

configure add

Add a resource.

Creates a new resource of the given type (client, jobdefs, job, storage, catalog, schedule, fileset, pool, messages, counter, profile, console, user). The resource is written to bareos-dir.d/<type>/<name>.conf and loaded into the running Director at once, without reload. Directives are written in lower case without blanks (maximumvolumejobs=1); a directive may repeat where the resource allows it (run= of a schedule). The characters @ and ; are not allowed in values.

The configuration must be in directory form and the directory of the type must already exist. Adding a client also exports its file daemon resource, like configure export. Onesimus deviation: profile and user are always refused (edit them in the configuration files), and console is only accepted as name, password, one or more profile and an optional description, with profiles that grant no more than the creating console may use itself.

configure add client name=<name> [description=<description>]
                     [protocol=<Native|NDMPV2|NDMPV3|NDMPV4>]
                     [authtype=<None|Clear|MD5>] address=<address>
                     [lanaddress=<lanaddress>] [port=<port>]
                     [username=<username>] password=<password>
                     [catalog=<catalog>] [passive=<yes|no>]
                     [connectionfromdirectortoclient=<yes|no>]
                     [connectionfromclienttodirector=<yes|no>]
                     [enabled=<yes|no>] [hardquota=<hardquota>]
                     [softquota=<softquota>]
                     [softquotagraceperiod=<softquotagraceperiod>]
                     [strictquotas=<yes|no>] [quotaincludefailedjobs=<yes|no>]
                     [heartbeatinterval=<heartbeatinterval>]
                     [maximumconcurrentjobs=<maximumconcurrentjobs>]
                     [maximumbandwidthperjob=<maximumbandwidthperjob>]
                     [ndmploglevel=<ndmploglevel>]
                     [ndmpblocksize=<ndmpblocksize>] [ndmpuselmdb=<yes|no>]
                     [tlsauthenticate=<yes|no>] [tlsenable=<yes|no>]
                     [tlsrequire=<yes|no>] [tlscipherlist=<tlscipherlist>]
                     [tlsciphersuites=<tlsciphersuites>]
                     [tlsdhfile=<tlsdhfile>] [tlsprotocol=<tlsprotocol>]
                     [tlsverifypeer=<yes|no>]
                     [tlscacertificatefile=<tlscacertificatefile>]
                     [tlscacertificatedir=<tlscacertificatedir>]
                     [tlscertificaterevocationlist=<tlscertificaterevocationlist>]
                     [tlscertificate=<tlscertificate>] [tlskey=<tlskey>]
                     [tlsallowedcn=<tlsallowedcn> ...]
configure add jobdefs name=<name> [description=<description>] type=<type>
                      [protocol=<protocol>] [backupformat=<backupformat>]
                      [level=<level>] messages=<messages>
                      [storage=<storage> ...] pool=<pool>
                      [fullbackuppool=<fullbackuppool>]
                      [virtualfullbackuppool=<virtualfullbackuppool>]
                      [incrementalbackuppool=<incrementalbackuppool>]
                      [differentialbackuppool=<differentialbackuppool>]
                      [nextpool=<nextpool>] [client=<client>]
                      [fileset=<fileset>] [schedule=<schedule>]
                      [jobtoverify=<jobtoverify>] [catalog=<catalog>]
                      [jobdefs=<jobdefs>] [run=<run> ...] [where=<where>]
                      [regexwhere=<regexwhere>] [stripprefix=<stripprefix>]
                      [addprefix=<addprefix>] [addsuffix=<addsuffix>]
                      [bootstrap=<bootstrap>]
                      [writebootstrap=<writebootstrap>]
                      [replace=<Always|IfNewer|IfOlder|Never>]
                      [maximumbandwidth=<maximumbandwidth>]
                      [maxrunschedtime=<maxrunschedtime>]
                      [maxruntime=<maxruntime>]
                      [fullmaxruntime=<fullmaxruntime>]
                      [incrementalmaxruntime=<incrementalmaxruntime>]
                      [differentialmaxruntime=<differentialmaxruntime>]
                      [maxwaittime=<maxwaittime>]
                      [maxstartdelay=<maxstartdelay>]
                      [maxfullinterval=<maxfullinterval>]
                      [maxvirtualfullinterval=<maxvirtualfullinterval>]
                      [maxdiffinterval=<maxdiffinterval>]
                      [prefixlinks=<yes|no>] [prunejobs=<yes|no>]
                      [prunefiles=<yes|no>] [prunevolumes=<yes|no>]
                      [purgemigrationjob=<yes|no>] [enabled=<yes|no>]
                      [spoolattributes=<yes|no>] [spooldata=<yes|no>]
                      [spoolsize=<spoolsize>] [rerunfailedlevels=<yes|no>]
                      [prefermountedvolumes=<yes|no>]
                      [runbeforejob=<runbeforejob> ...]
                      [runafterjob=<runafterjob> ...]
                      [runafterfailedjob=<runafterfailedjob> ...]
                      [clientrunbeforejob=<clientrunbeforejob> ...]
                      [clientrunafterjob=<clientrunafterjob> ...]
                      [maximumconcurrentjobs=<maximumconcurrentjobs>]
                      [rescheduleonerror=<yes|no>]
                      [rescheduleinterval=<rescheduleinterval>]
                      [rescheduletimes=<rescheduletimes>]
                      [priority=<priority>] [allowmixedpriority=<yes|no>]
                      [selectionpattern=<selectionpattern>]
                      [selectiontype=<selectiontype>] [accurate=<yes|no>]
                      [allowduplicatejobs=<yes|no>]
                      [cancellowerlevelduplicates=<yes|no>]
                      [cancelqueuedduplicates=<yes|no>]
                      [cancelrunningduplicates=<yes|no>]
                      [savefilehistory=<yes|no>]
                      [filehistorysize=<filehistorysize>]
                      [fdpluginoptions=<fdpluginoptions> ...]
                      [sdpluginoptions=<sdpluginoptions> ...]
                      [dirpluginoptions=<dirpluginoptions> ...]
                      [maxconcurrentcopies=<maxconcurrentcopies>]
                      [alwaysincremental=<yes|no>]
                      [alwaysincrementaljobretention=<alwaysincrementaljobretention>]
                      [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber>]
                      [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage>]
                      [maxfullconsolidations=<maxfullconsolidations>]
                      [runonincomingconnectinterval=<runonincomingconnectinterval>]
configure add job name=<name> [description=<description>] type=<type>
                  [protocol=<protocol>] [backupformat=<backupformat>]
                  [level=<level>] messages=<messages> [storage=<storage> ...]
                  pool=<pool> [fullbackuppool=<fullbackuppool>]
                  [virtualfullbackuppool=<virtualfullbackuppool>]
                  [incrementalbackuppool=<incrementalbackuppool>]
                  [differentialbackuppool=<differentialbackuppool>]
                  [nextpool=<nextpool>] [client=<client>] [fileset=<fileset>]
                  [schedule=<schedule>] [jobtoverify=<jobtoverify>]
                  [catalog=<catalog>] [jobdefs=<jobdefs>] [run=<run> ...]
                  [where=<where>] [regexwhere=<regexwhere>]
                  [stripprefix=<stripprefix>] [addprefix=<addprefix>]
                  [addsuffix=<addsuffix>] [bootstrap=<bootstrap>]
                  [writebootstrap=<writebootstrap>]
                  [replace=<Always|IfNewer|IfOlder|Never>]
                  [maximumbandwidth=<maximumbandwidth>]
                  [maxrunschedtime=<maxrunschedtime>]
                  [maxruntime=<maxruntime>] [fullmaxruntime=<fullmaxruntime>]
                  [incrementalmaxruntime=<incrementalmaxruntime>]
                  [differentialmaxruntime=<differentialmaxruntime>]
                  [maxwaittime=<maxwaittime>] [maxstartdelay=<maxstartdelay>]
                  [maxfullinterval=<maxfullinterval>]
                  [maxvirtualfullinterval=<maxvirtualfullinterval>]
                  [maxdiffinterval=<maxdiffinterval>] [prefixlinks=<yes|no>]
                  [prunejobs=<yes|no>] [prunefiles=<yes|no>]
                  [prunevolumes=<yes|no>] [purgemigrationjob=<yes|no>]
                  [enabled=<yes|no>] [spoolattributes=<yes|no>]
                  [spooldata=<yes|no>] [spoolsize=<spoolsize>]
                  [rerunfailedlevels=<yes|no>] [prefermountedvolumes=<yes|no>]
                  [runbeforejob=<runbeforejob> ...]
                  [runafterjob=<runafterjob> ...]
                  [runafterfailedjob=<runafterfailedjob> ...]
                  [clientrunbeforejob=<clientrunbeforejob> ...]
                  [clientrunafterjob=<clientrunafterjob> ...]
                  [maximumconcurrentjobs=<maximumconcurrentjobs>]
                  [rescheduleonerror=<yes|no>]
                  [rescheduleinterval=<rescheduleinterval>]
                  [rescheduletimes=<rescheduletimes>] [priority=<priority>]
                  [allowmixedpriority=<yes|no>]
                  [selectionpattern=<selectionpattern>]
                  [selectiontype=<selectiontype>] [accurate=<yes|no>]
                  [allowduplicatejobs=<yes|no>]
                  [cancellowerlevelduplicates=<yes|no>]
                  [cancelqueuedduplicates=<yes|no>]
                  [cancelrunningduplicates=<yes|no>]
                  [savefilehistory=<yes|no>]
                  [filehistorysize=<filehistorysize>]
                  [fdpluginoptions=<fdpluginoptions> ...]
                  [sdpluginoptions=<sdpluginoptions> ...]
                  [dirpluginoptions=<dirpluginoptions> ...]
                  [maxconcurrentcopies=<maxconcurrentcopies>]
                  [alwaysincremental=<yes|no>]
                  [alwaysincrementaljobretention=<alwaysincrementaljobretention>]
                  [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber>]
                  [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage>]
                  [maxfullconsolidations=<maxfullconsolidations>]
                  [runonincomingconnectinterval=<runonincomingconnectinterval>]
configure add storage name=<name> [description=<description>]
                      [protocol=<Native|NDMPV2|NDMPV3|NDMPV4>]
                      [authtype=<None|Clear|MD5>] address=<address>
                      [lanaddress=<lanaddress>] [port=<port>]
                      [username=<username>] password=<password>
                      device=<device> mediatype=<mediatype>
                      [autochanger=<yes|no>] [enabled=<yes|no>]
                      [allowcompression=<yes|no>]
                      [heartbeatinterval=<heartbeatinterval>]
                      [cachestatusinterval=<cachestatusinterval>]
                      [maximumconcurrentjobs=<maximumconcurrentjobs>]
                      [maximumconcurrentreadjobs=<maximumconcurrentreadjobs>]
                      [pairedstorage=<pairedstorage>]
                      [maximumbandwidthperjob=<maximumbandwidthperjob>]
                      [ndmpchangerdevice=<ndmpchangerdevice>]
                      [tlsauthenticate=<yes|no>] [tlsenable=<yes|no>]
                      [tlsrequire=<yes|no>] [tlscipherlist=<tlscipherlist>]
                      [tlsciphersuites=<tlsciphersuites>]
                      [tlsdhfile=<tlsdhfile>] [tlsprotocol=<tlsprotocol>]
                      [tlsverifypeer=<yes|no>]
                      [tlscacertificatefile=<tlscacertificatefile>]
                      [tlscacertificatedir=<tlscacertificatedir>]
                      [tlscertificaterevocationlist=<tlscertificaterevocationlist>]
                      [tlscertificate=<tlscertificate>] [tlskey=<tlskey>]
                      [tlsallowedcn=<tlsallowedcn> ...]
configure add catalog name=<name> [description=<description>]
                      [dbaddress=<dbaddress>] [dbport=<dbport>]
                      [dbpassword=<dbpassword>] dbuser=<dbuser>
                      dbname=<dbname> [dbsocket=<dbsocket>]
                      [reconnect=<yes|no>] [exitonfatal=<yes|no>]
                      [minconnections=<minconnections>]
                      [maxconnections=<maxconnections>]
                      [incconnections=<incconnections>]
                      [idletimeout=<idletimeout>]
                      [validatetimeout=<validatetimeout>]
configure add schedule name=<name> [description=<description>] [run=<run> ...]
                       [enabled=<yes|no>]
configure add fileset name=<name> [description=<description>]
                      [ignorefilesetchanges=<yes|no>] [enablevss=<yes|no>]
configure add pool name=<name> [description=<description>]
                   [pooltype=<pooltype>] [labelformat=<labelformat>]
                   [cleaningprefix=<cleaningprefix>] [usecatalog=<yes|no>]
                   [purgeoldestvolume=<yes|no>]
                   [actiononpurge=<None|Truncate>]
                   [recycleoldestvolume=<yes|no>]
                   [recyclecurrentvolume=<yes|no>]
                   [maximumvolumes=<maximumvolumes>]
                   [maximumvolumejobs=<maximumvolumejobs>]
                   [maximumvolumefiles=<maximumvolumefiles>]
                   [maximumvolumebytes=<maximumvolumebytes>]
                   [catalogfiles=<yes|no>] [volumeretention=<volumeretention>]
                   [volumeuseduration=<volumeuseduration>]
                   [migrationtime=<migrationtime>]
                   [migrationhighbytes=<migrationhighbytes>]
                   [migrationlowbytes=<migrationlowbytes>]
                   [nextpool=<nextpool>] [storage=<storage> ...]
                   [autoprune=<yes|no>] [recycle=<yes|no>]
                   [recyclepool=<recyclepool>] [scratchpool=<scratchpool>]
                   [catalog=<catalog>] [minimumblocksize=<minimumblocksize>]
                   [maximumblocksize=<maximumblocksize>]
configure add messages [name=<name>] [description=<description>]
                       [mailcommand=<mailcommand>]
                       [operatorcommand=<operatorcommand>]
                       [timestampformat=<timestampformat>]
                       [syslog=<syslog> ...] [mail=<mail> ...]
                       [mailonerror=<mailonerror> ...]
                       [mailonsuccess=<mailonsuccess> ...] [file=<file> ...]
                       [append=<append> ...] [stdout=<stdout> ...]
                       [stderr=<stderr> ...] [director=<director> ...]
                       [console=<console> ...] [operator=<operator> ...]
                       [catalog=<catalog> ...]
configure add counter name=<name> [description=<description>]
                      [minimum=<minimum>] [maximum=<maximum>]
                      [wrapcounter=<wrapcounter>] [catalog=<catalog>]
configure add profile name=<name> [description=<description>]
                      [jobacl=<jobacl> ...] [clientacl=<clientacl> ...]
                      [storageacl=<storageacl> ...]
                      [scheduleacl=<scheduleacl> ...] [poolacl=<poolacl> ...]
                      [commandacl=<commandacl> ...]
                      [filesetacl=<filesetacl> ...]
                      [catalogacl=<catalogacl> ...] [whereacl=<whereacl> ...]
                      [pluginoptionsacl=<pluginoptionsacl> ...]
configure add console name=<name> password=<password>
                      profile=<profile>[,...] ... [description=<description>]
configure add user name=<name> [description=<description>]
                   [jobacl=<jobacl> ...] [clientacl=<clientacl> ...]
                   [storageacl=<storageacl> ...]
                   [scheduleacl=<scheduleacl> ...] [poolacl=<poolacl> ...]
                   [commandacl=<commandacl> ...] [filesetacl=<filesetacl> ...]
                   [catalogacl=<catalogacl> ...] [whereacl=<whereacl> ...]
                   [pluginoptionsacl=<pluginoptionsacl> ...]
                   [profile=<profile> ...]

A new backup pool with one job per volume:

configure add pool name=Weekly pooltype=Backup maximumvolumejobs=1 labelformat=Weekly-

A schedule with two run lines:

configure add schedule name=Nightly run="Full 1st sun at 23:05" run="Incremental mon-sat at 23:05"

A job whose required directives come from a jobdefs:

configure add job name=BackupClient2 jobdefs=DefaultJob client=bareos-fd

configure add client

New resource.

configure add client name=<name> [description=<description>]
                     [protocol=<Native|NDMPV2|NDMPV3|NDMPV4>]
                     [authtype=<None|Clear|MD5>] address=<address>
                     [lanaddress=<lanaddress>] [port=<port>]
                     [username=<username>] password=<password>
                     [catalog=<catalog>] [passive=<yes|no>]
                     [connectionfromdirectortoclient=<yes|no>]
                     [connectionfromclienttodirector=<yes|no>]
                     [enabled=<yes|no>] [hardquota=<hardquota>]
                     [softquota=<softquota>]
                     [softquotagraceperiod=<softquotagraceperiod>]
                     [strictquotas=<yes|no>] [quotaincludefailedjobs=<yes|no>]
                     [heartbeatinterval=<heartbeatinterval>]
                     [maximumconcurrentjobs=<maximumconcurrentjobs>]
                     [maximumbandwidthperjob=<maximumbandwidthperjob>]
                     [ndmploglevel=<ndmploglevel>]
                     [ndmpblocksize=<ndmpblocksize>] [ndmpuselmdb=<yes|no>]
                     [tlsauthenticate=<yes|no>] [tlsenable=<yes|no>]
                     [tlsrequire=<yes|no>] [tlscipherlist=<tlscipherlist>]
                     [tlsciphersuites=<tlsciphersuites>]
                     [tlsdhfile=<tlsdhfile>] [tlsprotocol=<tlsprotocol>]
                     [tlsverifypeer=<yes|no>]
                     [tlscacertificatefile=<tlscacertificatefile>]
                     [tlscacertificatedir=<tlscacertificatedir>]
                     [tlscertificaterevocationlist=<tlscertificaterevocationlist>]
                     [tlscertificate=<tlscertificate>] [tlskey=<tlskey>]
                     [tlsallowedcn=<tlsallowedcn> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the client as jobs, the catalog and the job logs know it.
description=stringFree text describing the client.
protocol=enumNative, NDMPV2, NDMPV3, NDMPV4Protocol to talk to the client: Native (the Bareos File Daemon) or one of the NDMP versions for NAS filers.
authtype=enumNone, Clear, MD5Authentication for NDMP clients: None, Clear or MD5.
address=stringrequiredHost name or IP address of the File Daemon.
lanaddress=stringAddress used instead of Address when the Storage Daemon connects to the File Daemon in passive mode, for setups where storage and client share a LAN that the Director does not see.
port=integerTCP port of the File Daemon.
username=stringUser name for NDMP authentication.
password=stringrequiredPassword shared with the File Daemon’s Director resource; with TLS-PSK it is also the TLS key.
catalog=resourcefrom .catalogsCatalog the jobs of this client are stored in, for installations with several catalogs.
passive=boolyes, noPassive mode: the Storage Daemon connects to the File Daemon instead of the other way round.
connectionfromdirectortoclient=boolyes, noThe Director opens the connection to the File Daemon (the normal case).
connectionfromclienttodirector=boolyes, noThe File Daemon connects to the Director and keeps the connection open, so a client behind NAT or a firewall can be backed up.
enabled=boolyes, noA disabled client is not backed up by scheduled jobs; enable client and disable client change it at run time.
hardquota=stringUpper limit for the data of this client; a backup that would go beyond it fails. 0 means no limit.
softquota=stringSoft limit for the data of this client: beyond it a warning is written, and after the Soft Quota Grace Period jobs fail.
softquotagraceperiod=stringHow long the soft quota may be exceeded before jobs fail.
strictquotas=boolyes, noWhen the soft quota grace period has run out: yes makes the soft quota a hard limit; no lets jobs run up to the hard quota.
quotaincludefailedjobs=boolyes, noCount the data of failed jobs into the quota.
heartbeatinterval=stringInterval of keep-alive packets to the File Daemon. 0 switches it off.
maximumconcurrentjobs=integerHow many jobs may run on this client at the same time; further jobs wait.
maximumbandwidthperjob=stringLimits the bandwidth of each job of this client.
ndmploglevel=integerDetail of NDMP messages of this client, 0 to 9.
ndmpblocksize=stringBlock size of NDMP backups.
ndmpuselmdb=boolyes, noKeep the NDMP file history in an LMDB database during the job instead of in memory, for filers with many files.
tlsauthenticate=boolyes, noUse TLS only to authenticate the peer and switch back to an unencrypted connection afterwards.
tlsenable=boolyes, noEnable TLS for this connection.
tlsrequire=boolyes, noRefuse connections that do not use TLS.
tlscipherlist=stringOpenSSL cipher list for TLS 1.2 and older, colon separated.
tlsciphersuites=stringOpenSSL cipher suites for TLS 1.3, colon separated.
tlsdhfile=stringPEM file with Diffie-Hellman parameters for the DH key exchange of TLS 1.2.
tlsprotocol=stringRestricts the TLS protocol versions in OpenSSL syntax, for example to forbid old versions.
tlsverifypeer=boolyes, noWith certificate based TLS: check the peer’s certificate against the CA and, for a server, against TLS Allowed CN.
tlscacertificatefile=stringPEM file with the CA certificates used to verify the peer’s certificate.
tlscacertificatedir=stringDirectory of hashed CA certificates (as made by openssl rehash), an alternative to TLS CA Certificate File.
tlscertificaterevocationlist=stringPEM file with a certificate revocation list; certificates on it are refused.
tlscertificate=stringPEM file with the own certificate for certificate based TLS.
tlskey=stringPEM file with the private key of TLS Certificate.
tlsallowedcn=stringrepeatableCommon names a peer certificate may carry; others are refused when TLS Verify Peer is on.

configure add jobdefs

New resource.

configure add jobdefs name=<name> [description=<description>] type=<type>
                      [protocol=<protocol>] [backupformat=<backupformat>]
                      [level=<level>] messages=<messages>
                      [storage=<storage> ...] pool=<pool>
                      [fullbackuppool=<fullbackuppool>]
                      [virtualfullbackuppool=<virtualfullbackuppool>]
                      [incrementalbackuppool=<incrementalbackuppool>]
                      [differentialbackuppool=<differentialbackuppool>]
                      [nextpool=<nextpool>] [client=<client>]
                      [fileset=<fileset>] [schedule=<schedule>]
                      [jobtoverify=<jobtoverify>] [catalog=<catalog>]
                      [jobdefs=<jobdefs>] [run=<run> ...] [where=<where>]
                      [regexwhere=<regexwhere>] [stripprefix=<stripprefix>]
                      [addprefix=<addprefix>] [addsuffix=<addsuffix>]
                      [bootstrap=<bootstrap>]
                      [writebootstrap=<writebootstrap>]
                      [replace=<Always|IfNewer|IfOlder|Never>]
                      [maximumbandwidth=<maximumbandwidth>]
                      [maxrunschedtime=<maxrunschedtime>]
                      [maxruntime=<maxruntime>]
                      [fullmaxruntime=<fullmaxruntime>]
                      [incrementalmaxruntime=<incrementalmaxruntime>]
                      [differentialmaxruntime=<differentialmaxruntime>]
                      [maxwaittime=<maxwaittime>]
                      [maxstartdelay=<maxstartdelay>]
                      [maxfullinterval=<maxfullinterval>]
                      [maxvirtualfullinterval=<maxvirtualfullinterval>]
                      [maxdiffinterval=<maxdiffinterval>]
                      [prefixlinks=<yes|no>] [prunejobs=<yes|no>]
                      [prunefiles=<yes|no>] [prunevolumes=<yes|no>]
                      [purgemigrationjob=<yes|no>] [enabled=<yes|no>]
                      [spoolattributes=<yes|no>] [spooldata=<yes|no>]
                      [spoolsize=<spoolsize>] [rerunfailedlevels=<yes|no>]
                      [prefermountedvolumes=<yes|no>]
                      [runbeforejob=<runbeforejob> ...]
                      [runafterjob=<runafterjob> ...]
                      [runafterfailedjob=<runafterfailedjob> ...]
                      [clientrunbeforejob=<clientrunbeforejob> ...]
                      [clientrunafterjob=<clientrunafterjob> ...]
                      [maximumconcurrentjobs=<maximumconcurrentjobs>]
                      [rescheduleonerror=<yes|no>]
                      [rescheduleinterval=<rescheduleinterval>]
                      [rescheduletimes=<rescheduletimes>]
                      [priority=<priority>] [allowmixedpriority=<yes|no>]
                      [selectionpattern=<selectionpattern>]
                      [selectiontype=<selectiontype>] [accurate=<yes|no>]
                      [allowduplicatejobs=<yes|no>]
                      [cancellowerlevelduplicates=<yes|no>]
                      [cancelqueuedduplicates=<yes|no>]
                      [cancelrunningduplicates=<yes|no>]
                      [savefilehistory=<yes|no>]
                      [filehistorysize=<filehistorysize>]
                      [fdpluginoptions=<fdpluginoptions> ...]
                      [sdpluginoptions=<sdpluginoptions> ...]
                      [dirpluginoptions=<dirpluginoptions> ...]
                      [maxconcurrentcopies=<maxconcurrentcopies>]
                      [alwaysincremental=<yes|no>]
                      [alwaysincrementaljobretention=<alwaysincrementaljobretention>]
                      [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber>]
                      [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage>]
                      [maxfullconsolidations=<maxfullconsolidations>]
                      [runonincomingconnectinterval=<runonincomingconnectinterval>]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the job.
description=stringFree text describing the job.
type=enumBackup, Admin, Archive, Verify, Restore, Migrate, Copy, ConsolidaterequiredWhat the job does: Backup, Restore, Verify, Admin (runs only its scripts), Migrate, Copy, Consolidate (Always Incremental), or Archive.
protocol=enumNative, NDMP_BAREOS, NDMP, NDMP_NATIVEBackup protocol: Native for the Bareos File Daemon; NDMP_BAREOS or NDMP_NATIVE for NAS filers (data stored by Bareos or by an NDMP tape server).
backupformat=stringFormat of NDMP backups (for example dump or tar, depending on the filer); Native for normal jobs.
level=enumFull, Base, Incremental, Differential, Since, VirtualFull, Catalog, InitCatalog, VolumeToCatalog, DiskToCatalog, DataDefault level of the job: for backups Full, Incremental, Differential or VirtualFull; for verify jobs InitCatalog, Catalog, VolumeToCatalog, DiskToCatalog or Data.
messages=resourcefrom .msgsrequiredMessages resource that decides where the job’s messages go (job log in the catalog, mail, log file).
storage=resourcefrom .storagesrepeatableStorage the job writes to (or reads from).
pool=resourcefrom .poolsrequiredPool the job writes to.
fullbackuppool=resourcefrom .poolsPool used when the job runs at level Full, so Fulls can have their own retention.
virtualfullbackuppool=resourcefrom .poolsPool a VirtualFull is written to.
incrementalbackuppool=resourcefrom .poolsPool used for Incremental runs.
differentialbackuppool=resourcefrom .poolsPool used for Differential runs.
nextpool=resourcefrom .poolsPool that Copy, Migrate and VirtualFull jobs write to.
client=resourcefrom .clientsClient (File Daemon) the job backs up or, for restores, restores to by default.
fileset=resourcefrom .filesetsFileSet that says what is backed up.
schedule=resourcefrom .scheduleSchedule that starts the job automatically.
jobtoverify=resourcefrom .jobsFor verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data).
catalog=resourcefrom .catalogsCatalog for this job, overriding that of the client.
jobdefs=resourcefrom .jobdefsJobDefs resource whose directives this job inherits.
run=stringrepeatableStarts another job (or a copy of this one with other settings) when this job is started, in run command syntax, for example a second backup to another storage.
where=stringFor restore jobs: directory prefix the files are restored under. / restores to the original place.
regexwhere=stringFor restore jobs: rewrites the paths of restored files with sed-like expressions (!from!to!), instead of a plain prefix.
stripprefix=stringFor restore jobs: removes this prefix from the paths before restoring.
addprefix=stringFor restore jobs: adds this prefix to the paths (like Where).
addsuffix=stringFor restore jobs: adds this suffix to the restored file names, for example to keep existing files.
bootstrap=stringBootstrap file a restore job reads to find the data on the volumes.
writebootstrap=stringFile (or, starting with |, a command) the job writes its bootstrap to after a backup: which volumes and blocks hold this job.
replace=enumAlways, IfNewer, IfOlder, NeverFor restore jobs: what happens to files that exist already: always (overwrite), ifnewer (only if the backup is newer), ifolder (only if it is older) or never.
maximumbandwidth=stringLimits the bandwidth of this job.
maxrunschedtime=stringCancels the job if it has not finished this long after its scheduled time (waiting counts).
maxruntime=stringCancels the job if it runs longer than this from its actual start.
fullmaxruntime=stringMax Run Time for Full runs only.
incrementalmaxruntime=stringMax Run Time for Incremental runs only.
differentialmaxruntime=stringMax Run Time for Differential runs only.
maxwaittime=stringCancels the job if it waits longer than this for a resource (a volume, a device, a concurrency slot) after it started.
maxstartdelay=stringCancels the job if it cannot start within this time after its scheduled time, so a nightly job that missed its window does not run in the day.
maxfullinterval=stringUpgrades an Incremental or Differential to Full when the last successful Full is older than this.
maxvirtualfullinterval=stringUpgrades a run to VirtualFull when the last VirtualFull (or Full) is older than this.
maxdiffinterval=stringUpgrades an Incremental to Differential when the last Differential is older than this.
prefixlinks=boolyes, noFor restores with Where: also prefix the targets of absolute symbolic links, so they point into the restore directory.
prunejobs=boolyes, noPrune the job records of this job’s client after the job, as if the retention had been applied by prune jobs.
prunefiles=boolyes, noPrune the file records of this job’s client after the job.
prunevolumes=boolyes, noPrune the volumes of the pool after the job.
purgemigrationjob=boolyes, noAfter a successful migration, purge the migrated (source) job from the catalog.
enabled=boolyes, noA disabled job is not started by its schedule; it can still be run by hand. enable job and disable job change it at run time.
spoolattributes=boolyes, noSpool the file attributes on the Storage Daemon and insert them into the catalog at the end of the job, instead of while writing.
spooldata=boolyes, noSpool the data to disk on the Storage Daemon first and write it to the volume in big chunks.
spoolsize=stringUpper limit of the spool file of this job.
rerunfailedlevels=boolyes, noIf the last Full (or Differential) failed, run the next job at that level again instead of the scheduled lower level.
prefermountedvolumes=boolyes, noPrefer a drive that has a usable volume mounted.
runbeforejob=stringrepeatableCommand the Director runs before the job; a failing command cancels the job.
runafterjob=stringrepeatableCommand the Director runs after a successful job (RunScript, RunsWhen = After, RunsOnFailure = no).
runafterfailedjob=stringrepeatableCommand the Director runs after a failed job.
clientrunbeforejob=stringrepeatableCommand the File Daemon runs on the client before the backup, for example a database dump.
clientrunafterjob=stringrepeatableCommand the File Daemon runs on the client after the job.
maximumconcurrentjobs=integerHow many runs of this job may run at the same time; usually 1, so a slow run is not overtaken by the next one.
rescheduleonerror=boolyes, noStart the job again when it failed, after Reschedule Interval, at most Reschedule Times times.
rescheduleinterval=stringWait between a failed run and its retry.
rescheduletimes=integerHow many times a failed job is retried; 0 means without limit.
priority=integerPriority of the job: smaller numbers first.
allowmixedpriority=boolyes, noAllow this job to run together with jobs of other priorities, as long as they allow it as well.
selectionpattern=stringFor Copy and Migrate jobs: the pattern or SQL query used by Selection Type (a job or client name pattern, or a query returning job IDs).
selectiontype=enumSmallestVolume, OldestVolume, PoolOccupancy, PoolTime, PoolUncopiedJobs, Client, Volume, Job, SqlQueryFor Copy and Migrate jobs: how the source jobs are chosen: SmallestVolume, OldestVolume, Client, Volume, Job, SQLQuery, PoolOccupancy, PoolTime, PoolUncopiedJobs.
accurate=boolyes, noAccurate mode: the File Daemon receives the file list of the previous backups and also records deleted and renamed files, so a restore gives exactly the state of the backup.
allowduplicatejobs=boolyes, noAllow a second run of the same job while one is queued or running.
cancellowerlevelduplicates=boolyes, noWith Allow Duplicate Jobs = no: cancel the duplicate of the lower level (an Incremental gives way to a Full).
cancelqueuedduplicates=boolyes, noWith Allow Duplicate Jobs = no: cancel a duplicate that is still waiting in the queue.
cancelrunningduplicates=boolyes, noWith Allow Duplicate Jobs = no: cancel the duplicate that is already running in favour of the new one.
savefilehistory=boolyes, noFor NDMP: store the file history sent by the filer, so single files can be restored.
filehistorysize=stringFor NDMP: size of the file history buffer.
fdpluginoptions=stringrepeatableOptions passed to the File Daemon plugins of this job.
sdpluginoptions=stringrepeatableOptions passed to the Storage Daemon plugins of this job.
dirpluginoptions=stringrepeatableOptions passed to the Director plugins of this job.
maxconcurrentcopies=integerFor Copy jobs: how many copy jobs are started at once from one selection.
alwaysincremental=boolyes, noAlways Incremental scheme: only Incrementals are taken, and a Consolidate job merges the old ones into a VirtualFull.
alwaysincrementaljobretention=stringIncrementals younger than this are not consolidated.
alwaysincrementalkeepnumber=integerHow many Incrementals are always kept unconsolidated, even when they are older than the retention.
alwaysincrementalmaxfullage=stringWhen the Full of an Always Incremental chain is older than this, the Consolidate job includes it, so the Full does not grow old.
maxfullconsolidations=integerHow many Fulls a Consolidate job may consolidate in one run (because of Always Incremental Max Full Age); 0 means no limit.
runonincomingconnectinterval=stringFor clients that connect to the Director (Connection From Client To Director): start this job when the client connects and the last run is older than this interval. 0 switches it off.

configure add job

New resource.

configure add job name=<name> [description=<description>] type=<type>
                  [protocol=<protocol>] [backupformat=<backupformat>]
                  [level=<level>] messages=<messages> [storage=<storage> ...]
                  pool=<pool> [fullbackuppool=<fullbackuppool>]
                  [virtualfullbackuppool=<virtualfullbackuppool>]
                  [incrementalbackuppool=<incrementalbackuppool>]
                  [differentialbackuppool=<differentialbackuppool>]
                  [nextpool=<nextpool>] [client=<client>] [fileset=<fileset>]
                  [schedule=<schedule>] [jobtoverify=<jobtoverify>]
                  [catalog=<catalog>] [jobdefs=<jobdefs>] [run=<run> ...]
                  [where=<where>] [regexwhere=<regexwhere>]
                  [stripprefix=<stripprefix>] [addprefix=<addprefix>]
                  [addsuffix=<addsuffix>] [bootstrap=<bootstrap>]
                  [writebootstrap=<writebootstrap>]
                  [replace=<Always|IfNewer|IfOlder|Never>]
                  [maximumbandwidth=<maximumbandwidth>]
                  [maxrunschedtime=<maxrunschedtime>]
                  [maxruntime=<maxruntime>] [fullmaxruntime=<fullmaxruntime>]
                  [incrementalmaxruntime=<incrementalmaxruntime>]
                  [differentialmaxruntime=<differentialmaxruntime>]
                  [maxwaittime=<maxwaittime>] [maxstartdelay=<maxstartdelay>]
                  [maxfullinterval=<maxfullinterval>]
                  [maxvirtualfullinterval=<maxvirtualfullinterval>]
                  [maxdiffinterval=<maxdiffinterval>] [prefixlinks=<yes|no>]
                  [prunejobs=<yes|no>] [prunefiles=<yes|no>]
                  [prunevolumes=<yes|no>] [purgemigrationjob=<yes|no>]
                  [enabled=<yes|no>] [spoolattributes=<yes|no>]
                  [spooldata=<yes|no>] [spoolsize=<spoolsize>]
                  [rerunfailedlevels=<yes|no>] [prefermountedvolumes=<yes|no>]
                  [runbeforejob=<runbeforejob> ...]
                  [runafterjob=<runafterjob> ...]
                  [runafterfailedjob=<runafterfailedjob> ...]
                  [clientrunbeforejob=<clientrunbeforejob> ...]
                  [clientrunafterjob=<clientrunafterjob> ...]
                  [maximumconcurrentjobs=<maximumconcurrentjobs>]
                  [rescheduleonerror=<yes|no>]
                  [rescheduleinterval=<rescheduleinterval>]
                  [rescheduletimes=<rescheduletimes>] [priority=<priority>]
                  [allowmixedpriority=<yes|no>]
                  [selectionpattern=<selectionpattern>]
                  [selectiontype=<selectiontype>] [accurate=<yes|no>]
                  [allowduplicatejobs=<yes|no>]
                  [cancellowerlevelduplicates=<yes|no>]
                  [cancelqueuedduplicates=<yes|no>]
                  [cancelrunningduplicates=<yes|no>]
                  [savefilehistory=<yes|no>]
                  [filehistorysize=<filehistorysize>]
                  [fdpluginoptions=<fdpluginoptions> ...]
                  [sdpluginoptions=<sdpluginoptions> ...]
                  [dirpluginoptions=<dirpluginoptions> ...]
                  [maxconcurrentcopies=<maxconcurrentcopies>]
                  [alwaysincremental=<yes|no>]
                  [alwaysincrementaljobretention=<alwaysincrementaljobretention>]
                  [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber>]
                  [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage>]
                  [maxfullconsolidations=<maxfullconsolidations>]
                  [runonincomingconnectinterval=<runonincomingconnectinterval>]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the job.
description=stringFree text describing the job.
type=enumBackup, Admin, Archive, Verify, Restore, Migrate, Copy, ConsolidaterequiredWhat the job does: Backup, Restore, Verify, Admin (runs only its scripts), Migrate, Copy, Consolidate (Always Incremental), or Archive.
protocol=enumNative, NDMP_BAREOS, NDMP, NDMP_NATIVEBackup protocol: Native for the Bareos File Daemon; NDMP_BAREOS or NDMP_NATIVE for NAS filers (data stored by Bareos or by an NDMP tape server).
backupformat=stringFormat of NDMP backups (for example dump or tar, depending on the filer); Native for normal jobs.
level=enumFull, Base, Incremental, Differential, Since, VirtualFull, Catalog, InitCatalog, VolumeToCatalog, DiskToCatalog, DataDefault level of the job: for backups Full, Incremental, Differential or VirtualFull; for verify jobs InitCatalog, Catalog, VolumeToCatalog, DiskToCatalog or Data.
messages=resourcefrom .msgsrequiredMessages resource that decides where the job’s messages go (job log in the catalog, mail, log file).
storage=resourcefrom .storagesrepeatableStorage the job writes to (or reads from).
pool=resourcefrom .poolsrequiredPool the job writes to.
fullbackuppool=resourcefrom .poolsPool used when the job runs at level Full, so Fulls can have their own retention.
virtualfullbackuppool=resourcefrom .poolsPool a VirtualFull is written to.
incrementalbackuppool=resourcefrom .poolsPool used for Incremental runs.
differentialbackuppool=resourcefrom .poolsPool used for Differential runs.
nextpool=resourcefrom .poolsPool that Copy, Migrate and VirtualFull jobs write to.
client=resourcefrom .clientsClient (File Daemon) the job backs up or, for restores, restores to by default.
fileset=resourcefrom .filesetsFileSet that says what is backed up.
schedule=resourcefrom .scheduleSchedule that starts the job automatically.
jobtoverify=resourcefrom .jobsFor verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data).
catalog=resourcefrom .catalogsCatalog for this job, overriding that of the client.
jobdefs=resourcefrom .jobdefsJobDefs resource whose directives this job inherits.
run=stringrepeatableStarts another job (or a copy of this one with other settings) when this job is started, in run command syntax, for example a second backup to another storage.
where=stringFor restore jobs: directory prefix the files are restored under. / restores to the original place.
regexwhere=stringFor restore jobs: rewrites the paths of restored files with sed-like expressions (!from!to!), instead of a plain prefix.
stripprefix=stringFor restore jobs: removes this prefix from the paths before restoring.
addprefix=stringFor restore jobs: adds this prefix to the paths (like Where).
addsuffix=stringFor restore jobs: adds this suffix to the restored file names, for example to keep existing files.
bootstrap=stringBootstrap file a restore job reads to find the data on the volumes.
writebootstrap=stringFile (or, starting with |, a command) the job writes its bootstrap to after a backup: which volumes and blocks hold this job.
replace=enumAlways, IfNewer, IfOlder, NeverFor restore jobs: what happens to files that exist already: always (overwrite), ifnewer (only if the backup is newer), ifolder (only if it is older) or never.
maximumbandwidth=stringLimits the bandwidth of this job.
maxrunschedtime=stringCancels the job if it has not finished this long after its scheduled time (waiting counts).
maxruntime=stringCancels the job if it runs longer than this from its actual start.
fullmaxruntime=stringMax Run Time for Full runs only.
incrementalmaxruntime=stringMax Run Time for Incremental runs only.
differentialmaxruntime=stringMax Run Time for Differential runs only.
maxwaittime=stringCancels the job if it waits longer than this for a resource (a volume, a device, a concurrency slot) after it started.
maxstartdelay=stringCancels the job if it cannot start within this time after its scheduled time, so a nightly job that missed its window does not run in the day.
maxfullinterval=stringUpgrades an Incremental or Differential to Full when the last successful Full is older than this.
maxvirtualfullinterval=stringUpgrades a run to VirtualFull when the last VirtualFull (or Full) is older than this.
maxdiffinterval=stringUpgrades an Incremental to Differential when the last Differential is older than this.
prefixlinks=boolyes, noFor restores with Where: also prefix the targets of absolute symbolic links, so they point into the restore directory.
prunejobs=boolyes, noPrune the job records of this job’s client after the job, as if the retention had been applied by prune jobs.
prunefiles=boolyes, noPrune the file records of this job’s client after the job.
prunevolumes=boolyes, noPrune the volumes of the pool after the job.
purgemigrationjob=boolyes, noAfter a successful migration, purge the migrated (source) job from the catalog.
enabled=boolyes, noA disabled job is not started by its schedule; it can still be run by hand. enable job and disable job change it at run time.
spoolattributes=boolyes, noSpool the file attributes on the Storage Daemon and insert them into the catalog at the end of the job, instead of while writing.
spooldata=boolyes, noSpool the data to disk on the Storage Daemon first and write it to the volume in big chunks.
spoolsize=stringUpper limit of the spool file of this job.
rerunfailedlevels=boolyes, noIf the last Full (or Differential) failed, run the next job at that level again instead of the scheduled lower level.
prefermountedvolumes=boolyes, noPrefer a drive that has a usable volume mounted.
runbeforejob=stringrepeatableCommand the Director runs before the job; a failing command cancels the job.
runafterjob=stringrepeatableCommand the Director runs after a successful job (RunScript, RunsWhen = After, RunsOnFailure = no).
runafterfailedjob=stringrepeatableCommand the Director runs after a failed job.
clientrunbeforejob=stringrepeatableCommand the File Daemon runs on the client before the backup, for example a database dump.
clientrunafterjob=stringrepeatableCommand the File Daemon runs on the client after the job.
maximumconcurrentjobs=integerHow many runs of this job may run at the same time; usually 1, so a slow run is not overtaken by the next one.
rescheduleonerror=boolyes, noStart the job again when it failed, after Reschedule Interval, at most Reschedule Times times.
rescheduleinterval=stringWait between a failed run and its retry.
rescheduletimes=integerHow many times a failed job is retried; 0 means without limit.
priority=integerPriority of the job: smaller numbers first.
allowmixedpriority=boolyes, noAllow this job to run together with jobs of other priorities, as long as they allow it as well.
selectionpattern=stringFor Copy and Migrate jobs: the pattern or SQL query used by Selection Type (a job or client name pattern, or a query returning job IDs).
selectiontype=enumSmallestVolume, OldestVolume, PoolOccupancy, PoolTime, PoolUncopiedJobs, Client, Volume, Job, SqlQueryFor Copy and Migrate jobs: how the source jobs are chosen: SmallestVolume, OldestVolume, Client, Volume, Job, SQLQuery, PoolOccupancy, PoolTime, PoolUncopiedJobs.
accurate=boolyes, noAccurate mode: the File Daemon receives the file list of the previous backups and also records deleted and renamed files, so a restore gives exactly the state of the backup.
allowduplicatejobs=boolyes, noAllow a second run of the same job while one is queued or running.
cancellowerlevelduplicates=boolyes, noWith Allow Duplicate Jobs = no: cancel the duplicate of the lower level (an Incremental gives way to a Full).
cancelqueuedduplicates=boolyes, noWith Allow Duplicate Jobs = no: cancel a duplicate that is still waiting in the queue.
cancelrunningduplicates=boolyes, noWith Allow Duplicate Jobs = no: cancel the duplicate that is already running in favour of the new one.
savefilehistory=boolyes, noFor NDMP: store the file history sent by the filer, so single files can be restored.
filehistorysize=stringFor NDMP: size of the file history buffer.
fdpluginoptions=stringrepeatableOptions passed to the File Daemon plugins of this job.
sdpluginoptions=stringrepeatableOptions passed to the Storage Daemon plugins of this job.
dirpluginoptions=stringrepeatableOptions passed to the Director plugins of this job.
maxconcurrentcopies=integerFor Copy jobs: how many copy jobs are started at once from one selection.
alwaysincremental=boolyes, noAlways Incremental scheme: only Incrementals are taken, and a Consolidate job merges the old ones into a VirtualFull.
alwaysincrementaljobretention=stringIncrementals younger than this are not consolidated.
alwaysincrementalkeepnumber=integerHow many Incrementals are always kept unconsolidated, even when they are older than the retention.
alwaysincrementalmaxfullage=stringWhen the Full of an Always Incremental chain is older than this, the Consolidate job includes it, so the Full does not grow old.
maxfullconsolidations=integerHow many Fulls a Consolidate job may consolidate in one run (because of Always Incremental Max Full Age); 0 means no limit.
runonincomingconnectinterval=stringFor clients that connect to the Director (Connection From Client To Director): start this job when the client connects and the last run is older than this interval. 0 switches it off.

configure add storage

New resource.

configure add storage name=<name> [description=<description>]
                      [protocol=<Native|NDMPV2|NDMPV3|NDMPV4>]
                      [authtype=<None|Clear|MD5>] address=<address>
                      [lanaddress=<lanaddress>] [port=<port>]
                      [username=<username>] password=<password>
                      device=<device> mediatype=<mediatype>
                      [autochanger=<yes|no>] [enabled=<yes|no>]
                      [allowcompression=<yes|no>]
                      [heartbeatinterval=<heartbeatinterval>]
                      [cachestatusinterval=<cachestatusinterval>]
                      [maximumconcurrentjobs=<maximumconcurrentjobs>]
                      [maximumconcurrentreadjobs=<maximumconcurrentreadjobs>]
                      [pairedstorage=<pairedstorage>]
                      [maximumbandwidthperjob=<maximumbandwidthperjob>]
                      [ndmpchangerdevice=<ndmpchangerdevice>]
                      [tlsauthenticate=<yes|no>] [tlsenable=<yes|no>]
                      [tlsrequire=<yes|no>] [tlscipherlist=<tlscipherlist>]
                      [tlsciphersuites=<tlsciphersuites>]
                      [tlsdhfile=<tlsdhfile>] [tlsprotocol=<tlsprotocol>]
                      [tlsverifypeer=<yes|no>]
                      [tlscacertificatefile=<tlscacertificatefile>]
                      [tlscacertificatedir=<tlscacertificatedir>]
                      [tlscertificaterevocationlist=<tlscertificaterevocationlist>]
                      [tlscertificate=<tlscertificate>] [tlskey=<tlskey>]
                      [tlsallowedcn=<tlsallowedcn> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the Storage resource as jobs and pools refer to it.
description=stringFree text describing the storage.
protocol=enumNative, NDMPV2, NDMPV3, NDMPV4Protocol to the storage: Native, or NDMP for NDMP tape servers.
authtype=enumNone, Clear, MD5Authentication for NDMP storage: None, Clear or MD5.
address=stringrequiredHost name or IP address of the Storage Daemon, as the File Daemons must reach it: the Director passes it on to the client.
lanaddress=stringAddress used instead of Address for clients in passive mode on a separate LAN.
port=integerTCP port of the Storage Daemon.
username=stringUser name for NDMP authentication.
password=stringrequiredPassword shared with the Storage Daemon’s Director resource (and TLS-PSK key).
device=stringrequiredName of a Device (or Autochanger) resource in the Storage Daemon.
mediatype=stringrequiredMedia type of the volumes this storage writes.
autochanger=boolyes, noThe device is an autochanger (tape library); slots and barcodes are used for label, update slots and mount.
enabled=boolyes, noA disabled storage is not used for new jobs; enable/disable storage change it at run time.
allowcompression=boolyes, noAllow software compression by the File Daemon for jobs writing here.
heartbeatinterval=stringInterval of keep-alive packets to the Storage Daemon. 0 switches it off.
cachestatusinterval=stringHow long the Director caches the status of the Storage Daemon.
maximumconcurrentjobs=integerHow many jobs may use this storage at the same time.
maximumconcurrentreadjobs=integerHow many of the concurrent jobs may read (restore, copy, migrate source); 0 means no own limit.
pairedstorage=resourcefrom .storagesFor NDMP: the native storage that holds the data of an NDMP backup that Bareos stores itself.
maximumbandwidthperjob=stringLimits the bandwidth of each job on this storage.
ndmpchangerdevice=stringChanger device of an NDMP tape server.
tlsauthenticate=boolyes, noUse TLS only to authenticate the peer and switch back to an unencrypted connection afterwards.
tlsenable=boolyes, noEnable TLS for this connection.
tlsrequire=boolyes, noRefuse connections that do not use TLS.
tlscipherlist=stringOpenSSL cipher list for TLS 1.2 and older, colon separated.
tlsciphersuites=stringOpenSSL cipher suites for TLS 1.3, colon separated.
tlsdhfile=stringPEM file with Diffie-Hellman parameters for the DH key exchange of TLS 1.2.
tlsprotocol=stringRestricts the TLS protocol versions in OpenSSL syntax, for example to forbid old versions.
tlsverifypeer=boolyes, noWith certificate based TLS: check the peer’s certificate against the CA and, for a server, against TLS Allowed CN.
tlscacertificatefile=stringPEM file with the CA certificates used to verify the peer’s certificate.
tlscacertificatedir=stringDirectory of hashed CA certificates (as made by openssl rehash), an alternative to TLS CA Certificate File.
tlscertificaterevocationlist=stringPEM file with a certificate revocation list; certificates on it are refused.
tlscertificate=stringPEM file with the own certificate for certificate based TLS.
tlskey=stringPEM file with the private key of TLS Certificate.
tlsallowedcn=stringrepeatableCommon names a peer certificate may carry; others are refused when TLS Verify Peer is on.

configure add catalog

New resource.

configure add catalog name=<name> [description=<description>]
                      [dbaddress=<dbaddress>] [dbport=<dbport>]
                      [dbpassword=<dbpassword>] dbuser=<dbuser>
                      dbname=<dbname> [dbsocket=<dbsocket>]
                      [reconnect=<yes|no>] [exitonfatal=<yes|no>]
                      [minconnections=<minconnections>]
                      [maxconnections=<maxconnections>]
                      [incconnections=<incconnections>]
                      [idletimeout=<idletimeout>]
                      [validatetimeout=<validatetimeout>]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the catalog; Client and Pool resources and the use command refer to it.
description=stringFree text describing the catalog.
dbaddress=stringHost of the PostgreSQL server; without it (and without DB Socket) the local socket is used.
dbport=integerTCP port of the PostgreSQL server.
dbpassword=stringPassword of the database user.
dbuser=stringrequiredDatabase user the Director connects as.
dbname=stringrequiredName of the catalog database.
dbsocket=stringDirectory of the PostgreSQL Unix socket, instead of a TCP connection.
reconnect=boolyes, noReconnect automatically when the database connection breaks.
exitonfatal=boolyes, noStop the Director on a fatal database error instead of carrying on.
minconnections=integerConnections the connection pool opens at start.
maxconnections=integerUpper limit of the connection pool.
incconnections=integerHow many connections the pool opens at once when it grows.
idletimeout=integerSeconds after which an idle pooled connection is closed.
validatetimeout=integerSeconds after which a pooled connection is checked before use.

configure add schedule

New resource.

configure add schedule name=<name> [description=<description>] [run=<run> ...]
                       [enabled=<yes|no>]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the schedule; jobs refer to it with Schedule.
description=stringFree text describing the schedule.
run=stringrepeatableWhen the jobs of this schedule run, one directive per rule: optional level and overrides, then the date and time specification.
enabled=boolyes, noA disabled schedule starts no job; enable schedule and disable schedule change it at run time.

configure add fileset

New resource.

configure add fileset name=<name> [description=<description>]
                      [ignorefilesetchanges=<yes|no>] [enablevss=<yes|no>]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the FileSet.
description=stringFree text describing the FileSet.
ignorefilesetchanges=boolyes, noNormally a change of the FileSet makes the next Incremental or Differential a Full, since the old backups do not contain the new files.
enablevss=boolyes, noOn Windows clients: back up from a Volume Shadow Copy snapshot, so open files are consistent.

configure add pool

New resource.

configure add pool name=<name> [description=<description>]
                   [pooltype=<pooltype>] [labelformat=<labelformat>]
                   [cleaningprefix=<cleaningprefix>] [usecatalog=<yes|no>]
                   [purgeoldestvolume=<yes|no>]
                   [actiononpurge=<None|Truncate>]
                   [recycleoldestvolume=<yes|no>]
                   [recyclecurrentvolume=<yes|no>]
                   [maximumvolumes=<maximumvolumes>]
                   [maximumvolumejobs=<maximumvolumejobs>]
                   [maximumvolumefiles=<maximumvolumefiles>]
                   [maximumvolumebytes=<maximumvolumebytes>]
                   [catalogfiles=<yes|no>] [volumeretention=<volumeretention>]
                   [volumeuseduration=<volumeuseduration>]
                   [migrationtime=<migrationtime>]
                   [migrationhighbytes=<migrationhighbytes>]
                   [migrationlowbytes=<migrationlowbytes>]
                   [nextpool=<nextpool>] [storage=<storage> ...]
                   [autoprune=<yes|no>] [recycle=<yes|no>]
                   [recyclepool=<recyclepool>] [scratchpool=<scratchpool>]
                   [catalog=<catalog>] [minimumblocksize=<minimumblocksize>]
                   [maximumblocksize=<maximumblocksize>]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the pool.
description=stringFree text describing the pool.
pooltype=enumBackup, Copy, Cloned, Archive, Migration, ScratchKind of pool: Backup (the normal case), Copy, Cloned, Archive, Migration or Scratch.
labelformat=stringTemplate for the names of volumes the Director labels automatically.
cleaningprefix=stringVolumes whose name starts with this prefix are cleaning tapes and are never used for data.
usecatalog=boolyes, noKeep the volumes of this pool in the catalog; should stay yes.
purgeoldestvolume=boolyes, noWhen the pool needs a volume and none is free, purge the oldest volume regardless of its retention.
actiononpurge=enumNone, TruncateWhat happens to a volume when it is purged: Truncate shrinks a disk volume to zero to free the space (done by truncate or purge … action=truncate); None keeps it.
recycleoldestvolume=boolyes, noWhen a volume is needed, prune the oldest volume and reuse it if its retention allows.
recyclecurrentvolume=boolyes, noWhen a volume is needed, prune the current volume and reuse it if its retention allows.
maximumvolumes=integerUpper limit of volumes in the pool; automatic labeling stops there.
maximumvolumejobs=integerNumber of jobs after which a volume is marked Used.
maximumvolumefiles=integerNumber of files after which a volume is marked Used.
maximumvolumebytes=stringSize after which a volume is marked Full.
catalogfiles=boolyes, noStore the file records of the jobs in this pool.
volumeretention=stringHow long the jobs on a volume are kept after the volume was last written.
volumeuseduration=stringHow long a volume is written to after its first write; then it is marked Used.
migrationtime=stringFor Migrate jobs with Selection Type PoolTime: jobs older than this are migrated.
migrationhighbytes=stringFor Selection Type PoolOccupancy: migration starts when the pool holds more than this.
migrationlowbytes=stringFor Selection Type PoolOccupancy: migration stops when the pool is below this.
nextpool=resourcefrom .poolsPool that Copy, Migrate and VirtualFull jobs write to when they read from this pool.
storage=resourcefrom .storagesrepeatableStorage the jobs writing to this pool use; it takes precedence over the Storage of the job.
autoprune=boolyes, noPrune the volumes of this pool automatically when a volume is needed, according to Volume Retention.
recycle=boolyes, noAllow volumes of this pool to be reused once they are purged.
recyclepool=resourcefrom .poolsPool a volume moves to when it is recycled, for example back to the Scratch pool.
scratchpool=resourcefrom .poolsPool this pool takes new volumes from when it has none; default is the pool named Scratch.
catalog=resourcefrom .catalogsCatalog of the pool, for installations with several catalogs.
minimumblocksize=stringMinimum block size for volumes of this pool, for tape drives with special needs.
maximumblocksize=stringMaximum block size for volumes of this pool; larger blocks speed up modern tape drives.

configure add messages

New resource.

configure add messages [name=<name>] [description=<description>]
                       [mailcommand=<mailcommand>]
                       [operatorcommand=<operatorcommand>]
                       [timestampformat=<timestampformat>]
                       [syslog=<syslog> ...] [mail=<mail> ...]
                       [mailonerror=<mailonerror> ...]
                       [mailonsuccess=<mailonsuccess> ...] [file=<file> ...]
                       [append=<append> ...] [stdout=<stdout> ...]
                       [stderr=<stderr> ...] [director=<director> ...]
                       [console=<console> ...] [operator=<operator> ...]
                       [catalog=<catalog> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringName of the Messages resource; Jobs, the Director and daemons refer to it.
description=stringFree text describing the resource.
mailcommand=stringCommand that sends the mails of Mail, Mail On Error and Mail On Success. bsmtp is the usual choice.
operatorcommand=stringCommand for Operator messages (for example mount requests); same variables as Mail Command.
timestampformat=stringstrftime format of the time stamps of these messages.
syslog=stringrepeatableSend messages to the system log.
mail=stringrepeatableMail the messages to the addresses before the second = (comma separated) when the job ends, as one mail per job.
mailonerror=stringrepeatableLike Mail, but the mail is only sent when the job did not terminate normally.
mailonsuccess=stringrepeatableLike Mail, but only for jobs that terminated normally.
file=stringrepeatableWrite the messages to a file, which is overwritten when the Director starts.
append=stringrepeatableAppend the messages to a file.
stdout=stringrepeatablePrint the messages on standard output of the daemon (mostly for debugging in the foreground).
stderr=stringrepeatablePrint the messages on standard error of the daemon.
director=stringrepeatableSend the messages of a File or Storage Daemon to the Director named before the second =; only used in the daemons’ own Messages resources.
console=stringrepeatableKeep the messages for the consoles: they appear with the messages command (and automatically with autodisplay on).
operator=stringrepeatableSend the messages to the operator addresses through Operator Command, at once rather than at the end of the job.
catalog=stringrepeatableStore the messages in the catalog (table Log); the job log shown by list joblog and by the GUI comes from there.

configure add counter

New resource.

configure add counter name=<name> [description=<description>]
                      [minimum=<minimum>] [maximum=<maximum>]
                      [wrapcounter=<wrapcounter>] [catalog=<catalog>]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the counter, used as a variable in Label Format (for example ${Weekly}).
description=stringFree text describing the counter.
minimum=integerValue the counter starts with and returns to after Maximum.
maximum=integerHighest value; then the counter wraps to Minimum (and increments Wrap Counter).
wrapcounter=stringCounter that is incremented whenever this one wraps, for nested numbering such as week within year.
catalog=resourcefrom .catalogsCatalog the value is stored in; without it the counter lives in memory only and restarts at each Director start.

configure add profile

New resource.

configure add profile name=<name> [description=<description>]
                      [jobacl=<jobacl> ...] [clientacl=<clientacl> ...]
                      [storageacl=<storageacl> ...]
                      [scheduleacl=<scheduleacl> ...] [poolacl=<poolacl> ...]
                      [commandacl=<commandacl> ...]
                      [filesetacl=<filesetacl> ...]
                      [catalogacl=<catalogacl> ...] [whereacl=<whereacl> ...]
                      [pluginoptionsacl=<pluginoptionsacl> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the profile; Console and User resources refer to it with Profile.
description=stringFree text describing what the profile is for.
jobacl=stringrepeatableWhich jobs this profile may use.
clientacl=stringrepeatableWhich clients this profile may use.
storageacl=stringrepeatableWhich storages this profile may use.
scheduleacl=stringrepeatableWhich schedules this profile may use.
poolacl=stringrepeatableWhich pools this profile may use.
commandacl=stringrepeatableWhich console commands this profile may use.
filesetacl=stringrepeatableWhich FileSets this profile may use.
catalogacl=stringrepeatableWhich catalogs this profile may use.
whereacl=stringrepeatableWhich restore target paths (the where= of a restore) this profile may use.
pluginoptionsacl=stringrepeatableWhich plugin option strings a job may be started with this profile may use.

configure add console

Onesimus extension

New console with the rights of its profiles.

configure add console name=<name> password=<password>
                      profile=<profile>[,...] ... [description=<description>]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredConsole name.
password=stringrequiredPassword.
profile=resourcefrom .profilesrequired, repeatable, listProfile; several profiles repeated or as a comma list.
description=stringDescription.

configure add user

New resource.

configure add user name=<name> [description=<description>]
                   [jobacl=<jobacl> ...] [clientacl=<clientacl> ...]
                   [storageacl=<storageacl> ...]
                   [scheduleacl=<scheduleacl> ...] [poolacl=<poolacl> ...]
                   [commandacl=<commandacl> ...] [filesetacl=<filesetacl> ...]
                   [catalogacl=<catalogacl> ...] [whereacl=<whereacl> ...]
                   [pluginoptionsacl=<pluginoptionsacl> ...]
                   [profile=<profile> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
name=stringrequiredName of the user, as PAM authenticated it through a PAM console.
description=stringFree text describing the user.
jobacl=stringrepeatableWhich jobs this user may use.
clientacl=stringrepeatableWhich clients this user may use.
storageacl=stringrepeatableWhich storages this user may use.
scheduleacl=stringrepeatableWhich schedules this user may use.
poolacl=stringrepeatableWhich pools this user may use.
commandacl=stringrepeatableWhich console commands this user may use.
filesetacl=stringrepeatableWhich FileSets this user may use.
catalogacl=stringrepeatableWhich catalogs this user may use.
whereacl=stringrepeatableWhich restore target paths (the where= of a restore) this user may use.
pluginoptionsacl=stringrepeatableWhich plugin option strings a job may be started with this user may use.
profile=resourcefrom .profilesrepeatableProfiles whose ACLs the user gets.

configure export

Export a client resource.

Writes the Director resource a file daemon needs to accept this Director, for the given client, to bareos-dir-export/client/<client>/bareos-fd.d/director/. Copy the file to the client into bareos-fd.d/director/. Calling it again overwrites the file with the same content. client= must name a configured client.

configure export client=<client>
ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsrequiredClient name.

Export the director resource for bareos-fd:

configure export client=bareos-fd

configure read

Onesimus extension

Show a resource (Onesimus).

Aliases: show, get

Onesimus extension: shows a short summary of one client, job, pool or storage of the running configuration (for a client name, address, port and enabled; for a job type, level, client, storage, pool, fileset, priority and enabled). The resource ACLs of the console apply as with show; a resource the console may not see reads like an unknown one. For the raw resource text use .config read.

configure read [client=<client> | job=<job> | pool=<pool> | storage=<storage>]
ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsone of: whatClient name.
job=resourcefrom .jobsone of: whatJob name.
pool=resourcefrom .poolsone of: whatPool name.
storage=resourcefrom .storagesone of: whatStorage name.

Summary of a client:

configure read client=bareos-fd

Summary of a job:

configure read job=BackupClient1

configure update

Onesimus extension

Change directives of a resource (Onesimus).

Onesimus extension: changes directives of an existing client, job, jobdefs, schedule or fileset in its configuration file and reloads. Only the named directives change; comments, order, indentation and all other directives stay byte for byte. It is checked like odir -t, written atomically, and a failed reload restores the old state. pool, storage and console are refused, as are directives in nested blocks (RunScript, Include, Options) and changing the name.

A directive given several times replaces all its lines (the run lines of a schedule); a directive with an empty value (description=) removes it. A missing directive is added before the closing brace. The resource ACL of the console applies. The old job keys newclient, newstorage and newpool are accepted as client, storage and pool.

configure update client=<client> [yes] [description=<description> ...]
                        [protocol=<Native|NDMPV2|NDMPV3|NDMPV4> ...]
                        [authtype=<None|Clear|MD5> ...]
                        [address=<address> ...] [fdaddress=<fdaddress> ...]
                        [lanaddress=<lanaddress> ...] [port=<port> ...]
                        [fdport=<fdport> ...] [username=<username> ...]
                        [password=<password> ...]
                        [fdpassword=<fdpassword> ...] [catalog=<catalog> ...]
                        [passive=<yes|no> ...]
                        [connectionfromdirectortoclient=<yes|no> ...]
                        [connectionfromclienttodirector=<yes|no> ...]
                        [enabled=<yes|no> ...] [hardquota=<hardquota> ...]
                        [softquota=<softquota> ...]
                        [softquotagraceperiod=<softquotagraceperiod> ...]
                        [strictquotas=<yes|no> ...]
                        [quotaincludefailedjobs=<yes|no> ...]
                        [heartbeatinterval=<heartbeatinterval> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [maximumbandwidthperjob=<maximumbandwidthperjob> ...]
                        [ndmploglevel=<ndmploglevel> ...]
                        [ndmpblocksize=<ndmpblocksize> ...]
                        [ndmpuselmdb=<yes|no> ...]
                        [tlsauthenticate=<yes|no> ...]
                        [tlsenable=<yes|no> ...] [tlsrequire=<yes|no> ...]
                        [tlscipherlist=<tlscipherlist> ...]
                        [tlsciphersuites=<tlsciphersuites> ...]
                        [tlsdhfile=<tlsdhfile> ...]
                        [tlsprotocol=<tlsprotocol> ...]
                        [tlsverifypeer=<yes|no> ...]
                        [tlscacertificatefile=<tlscacertificatefile> ...]
                        [tlscacertificatedir=<tlscacertificatedir> ...]
                        [tlscertificaterevocationlist=<tlscertificaterevocationlist> ...]
                        [tlscertificate=<tlscertificate> ...]
                        [tlskey=<tlskey> ...]
                        [tlsallowedcn=<tlsallowedcn> ...]
configure update job=<job> [yes] [description=<description> ...]
                        [type=<type> ...] [protocol=<protocol> ...]
                        [backupformat=<backupformat> ...] [level=<level> ...]
                        [messages=<messages> ...] [storage=<storage> ...]
                        [pool=<pool> ...]
                        [fullbackuppool=<fullbackuppool> ...]
                        [virtualfullbackuppool=<virtualfullbackuppool> ...]
                        [incrementalbackuppool=<incrementalbackuppool> ...]
                        [differentialbackuppool=<differentialbackuppool> ...]
                        [nextpool=<nextpool> ...] [client=<client> ...]
                        [fileset=<fileset> ...] [schedule=<schedule> ...]
                        [jobtoverify=<jobtoverify> ...]
                        [verifyjob=<verifyjob> ...] [catalog=<catalog> ...]
                        [jobdefs=<jobdefs> ...] [run=<run> ...]
                        [where=<where> ...] [regexwhere=<regexwhere> ...]
                        [stripprefix=<stripprefix> ...]
                        [addprefix=<addprefix> ...]
                        [addsuffix=<addsuffix> ...]
                        [bootstrap=<bootstrap> ...]
                        [writebootstrap=<writebootstrap> ...]
                        [replace=<Always|IfNewer|IfOlder|Never> ...]
                        [maximumbandwidth=<maximumbandwidth> ...]
                        [maxrunschedtime=<maxrunschedtime> ...]
                        [maxruntime=<maxruntime> ...]
                        [fullmaxruntime=<fullmaxruntime> ...]
                        [incrementalmaxruntime=<incrementalmaxruntime> ...]
                        [differentialmaxruntime=<differentialmaxruntime> ...]
                        [maxwaittime=<maxwaittime> ...]
                        [maxstartdelay=<maxstartdelay> ...]
                        [maxfullinterval=<maxfullinterval> ...]
                        [maxvirtualfullinterval=<maxvirtualfullinterval> ...]
                        [maxdiffinterval=<maxdiffinterval> ...]
                        [prefixlinks=<yes|no> ...] [prunejobs=<yes|no> ...]
                        [prunefiles=<yes|no> ...] [prunevolumes=<yes|no> ...]
                        [purgemigrationjob=<yes|no> ...]
                        [enabled=<yes|no> ...] [spoolattributes=<yes|no> ...]
                        [spooldata=<yes|no> ...] [spoolsize=<spoolsize> ...]
                        [rerunfailedlevels=<yes|no> ...]
                        [prefermountedvolumes=<yes|no> ...]
                        [runbeforejob=<runbeforejob> ...]
                        [runafterjob=<runafterjob> ...]
                        [runafterfailedjob=<runafterfailedjob> ...]
                        [clientrunbeforejob=<clientrunbeforejob> ...]
                        [clientrunafterjob=<clientrunafterjob> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [rescheduleonerror=<yes|no> ...]
                        [rescheduleinterval=<rescheduleinterval> ...]
                        [rescheduletimes=<rescheduletimes> ...]
                        [priority=<priority> ...]
                        [allowmixedpriority=<yes|no> ...]
                        [selectionpattern=<selectionpattern> ...]
                        [runscript=<runscript> ...]
                        [selectiontype=<selectiontype> ...]
                        [accurate=<yes|no> ...]
                        [allowduplicatejobs=<yes|no> ...]
                        [cancellowerlevelduplicates=<yes|no> ...]
                        [cancelqueuedduplicates=<yes|no> ...]
                        [cancelrunningduplicates=<yes|no> ...]
                        [savefilehistory=<yes|no> ...]
                        [filehistorysize=<filehistorysize> ...]
                        [fdpluginoptions=<fdpluginoptions> ...]
                        [sdpluginoptions=<sdpluginoptions> ...]
                        [dirpluginoptions=<dirpluginoptions> ...]
                        [maxconcurrentcopies=<maxconcurrentcopies> ...]
                        [alwaysincremental=<yes|no> ...]
                        [alwaysincrementaljobretention=<alwaysincrementaljobretention> ...]
                        [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber> ...]
                        [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage> ...]
                        [maxfullconsolidations=<maxfullconsolidations> ...]
                        [runonincomingconnectinterval=<runonincomingconnectinterval> ...]
                        [newclient=<newclient> ...]
                        [newfileset=<newfileset> ...] [newpool=<newpool> ...]
                        [newstorage=<newstorage> ...]
                        [newschedule=<newschedule> ...]
configure update jobdefs=<jobdefs> [yes] [description=<description> ...]
                        [type=<type> ...] [protocol=<protocol> ...]
                        [backupformat=<backupformat> ...] [level=<level> ...]
                        [messages=<messages> ...] [storage=<storage> ...]
                        [pool=<pool> ...]
                        [fullbackuppool=<fullbackuppool> ...]
                        [virtualfullbackuppool=<virtualfullbackuppool> ...]
                        [incrementalbackuppool=<incrementalbackuppool> ...]
                        [differentialbackuppool=<differentialbackuppool> ...]
                        [nextpool=<nextpool> ...] [client=<client> ...]
                        [fileset=<fileset> ...] [schedule=<schedule> ...]
                        [jobtoverify=<jobtoverify> ...]
                        [verifyjob=<verifyjob> ...] [catalog=<catalog> ...]
                        [run=<run> ...] [where=<where> ...]
                        [regexwhere=<regexwhere> ...]
                        [stripprefix=<stripprefix> ...]
                        [addprefix=<addprefix> ...]
                        [addsuffix=<addsuffix> ...]
                        [bootstrap=<bootstrap> ...]
                        [writebootstrap=<writebootstrap> ...]
                        [replace=<Always|IfNewer|IfOlder|Never> ...]
                        [maximumbandwidth=<maximumbandwidth> ...]
                        [maxrunschedtime=<maxrunschedtime> ...]
                        [maxruntime=<maxruntime> ...]
                        [fullmaxruntime=<fullmaxruntime> ...]
                        [incrementalmaxruntime=<incrementalmaxruntime> ...]
                        [differentialmaxruntime=<differentialmaxruntime> ...]
                        [maxwaittime=<maxwaittime> ...]
                        [maxstartdelay=<maxstartdelay> ...]
                        [maxfullinterval=<maxfullinterval> ...]
                        [maxvirtualfullinterval=<maxvirtualfullinterval> ...]
                        [maxdiffinterval=<maxdiffinterval> ...]
                        [prefixlinks=<yes|no> ...] [prunejobs=<yes|no> ...]
                        [prunefiles=<yes|no> ...] [prunevolumes=<yes|no> ...]
                        [purgemigrationjob=<yes|no> ...]
                        [enabled=<yes|no> ...] [spoolattributes=<yes|no> ...]
                        [spooldata=<yes|no> ...] [spoolsize=<spoolsize> ...]
                        [rerunfailedlevels=<yes|no> ...]
                        [prefermountedvolumes=<yes|no> ...]
                        [runbeforejob=<runbeforejob> ...]
                        [runafterjob=<runafterjob> ...]
                        [runafterfailedjob=<runafterfailedjob> ...]
                        [clientrunbeforejob=<clientrunbeforejob> ...]
                        [clientrunafterjob=<clientrunafterjob> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [rescheduleonerror=<yes|no> ...]
                        [rescheduleinterval=<rescheduleinterval> ...]
                        [rescheduletimes=<rescheduletimes> ...]
                        [priority=<priority> ...]
                        [allowmixedpriority=<yes|no> ...]
                        [selectionpattern=<selectionpattern> ...]
                        [runscript=<runscript> ...]
                        [selectiontype=<selectiontype> ...]
                        [accurate=<yes|no> ...]
                        [allowduplicatejobs=<yes|no> ...]
                        [cancellowerlevelduplicates=<yes|no> ...]
                        [cancelqueuedduplicates=<yes|no> ...]
                        [cancelrunningduplicates=<yes|no> ...]
                        [savefilehistory=<yes|no> ...]
                        [filehistorysize=<filehistorysize> ...]
                        [fdpluginoptions=<fdpluginoptions> ...]
                        [sdpluginoptions=<sdpluginoptions> ...]
                        [dirpluginoptions=<dirpluginoptions> ...]
                        [maxconcurrentcopies=<maxconcurrentcopies> ...]
                        [alwaysincremental=<yes|no> ...]
                        [alwaysincrementaljobretention=<alwaysincrementaljobretention> ...]
                        [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber> ...]
                        [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage> ...]
                        [maxfullconsolidations=<maxfullconsolidations> ...]
                        [runonincomingconnectinterval=<runonincomingconnectinterval> ...]
                        [newclient=<newclient> ...]
                        [newfileset=<newfileset> ...] [newpool=<newpool> ...]
                        [newstorage=<newstorage> ...]
                        [newschedule=<newschedule> ...]
configure update schedule=<schedule> [yes] [description=<description> ...]
                        [run=<run> ...] [enabled=<yes|no> ...]
configure update fileset=<fileset> [yes] [description=<description> ...]
                        [include=<include> ...] [exclude=<exclude> ...]
                        [ignorefilesetchanges=<yes|no> ...]
                        [enablevss=<yes|no> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
yeskeywordDo not ask.

Change the address and port of a client:

configure update client=bareos-fd address=fd.example.org port=9112

Remove the description of a job:

configure update job=BackupClient1 description=

configure update client

Change a client.

configure update client=<client> [yes] [description=<description> ...]
                        [protocol=<Native|NDMPV2|NDMPV3|NDMPV4> ...]
                        [authtype=<None|Clear|MD5> ...]
                        [address=<address> ...] [fdaddress=<fdaddress> ...]
                        [lanaddress=<lanaddress> ...] [port=<port> ...]
                        [fdport=<fdport> ...] [username=<username> ...]
                        [password=<password> ...]
                        [fdpassword=<fdpassword> ...] [catalog=<catalog> ...]
                        [passive=<yes|no> ...]
                        [connectionfromdirectortoclient=<yes|no> ...]
                        [connectionfromclienttodirector=<yes|no> ...]
                        [enabled=<yes|no> ...] [hardquota=<hardquota> ...]
                        [softquota=<softquota> ...]
                        [softquotagraceperiod=<softquotagraceperiod> ...]
                        [strictquotas=<yes|no> ...]
                        [quotaincludefailedjobs=<yes|no> ...]
                        [heartbeatinterval=<heartbeatinterval> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [maximumbandwidthperjob=<maximumbandwidthperjob> ...]
                        [ndmploglevel=<ndmploglevel> ...]
                        [ndmpblocksize=<ndmpblocksize> ...]
                        [ndmpuselmdb=<yes|no> ...]
                        [tlsauthenticate=<yes|no> ...]
                        [tlsenable=<yes|no> ...] [tlsrequire=<yes|no> ...]
                        [tlscipherlist=<tlscipherlist> ...]
                        [tlsciphersuites=<tlsciphersuites> ...]
                        [tlsdhfile=<tlsdhfile> ...]
                        [tlsprotocol=<tlsprotocol> ...]
                        [tlsverifypeer=<yes|no> ...]
                        [tlscacertificatefile=<tlscacertificatefile> ...]
                        [tlscacertificatedir=<tlscacertificatedir> ...]
                        [tlscertificaterevocationlist=<tlscertificaterevocationlist> ...]
                        [tlscertificate=<tlscertificate> ...]
                        [tlskey=<tlskey> ...]
                        [tlsallowedcn=<tlsallowedcn> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsResource name.
description=stringrepeatableFree text describing the client. An empty value removes the directive.
protocol=enumNative, NDMPV2, NDMPV3, NDMPV4repeatableProtocol to talk to the client: Native (the Bareos File Daemon) or one of the NDMP versions for NAS filers. An empty value removes the directive.
authtype=enumNone, Clear, MD5repeatableAuthentication for NDMP clients: None, Clear or MD5. An empty value removes the directive.
address=stringrepeatableHost name or IP address of the File Daemon. An empty value removes the directive.
fdaddress=stringrepeatableHost name or IP address of the File Daemon. An empty value removes the directive.
lanaddress=stringrepeatableAddress used instead of Address when the Storage Daemon connects to the File Daemon in passive mode, for setups where storage and client share a LAN that the Director does not see. An empty value removes the directive.
port=stringrepeatableTCP port of the File Daemon. An empty value removes the directive.
fdport=stringrepeatableTCP port of the File Daemon. An empty value removes the directive.
username=stringrepeatableUser name for NDMP authentication. An empty value removes the directive.
password=stringrepeatablePassword shared with the File Daemon’s Director resource; with TLS-PSK it is also the TLS key. An empty value removes the directive.
fdpassword=stringrepeatablePassword shared with the File Daemon’s Director resource; with TLS-PSK it is also the TLS key. An empty value removes the directive.
catalog=resourcefrom .catalogsrepeatableCatalog the jobs of this client are stored in, for installations with several catalogs. An empty value removes the directive.
passive=boolyes, norepeatablePassive mode: the Storage Daemon connects to the File Daemon instead of the other way round. An empty value removes the directive.
connectionfromdirectortoclient=boolyes, norepeatableThe Director opens the connection to the File Daemon (the normal case). An empty value removes the directive.
connectionfromclienttodirector=boolyes, norepeatableThe File Daemon connects to the Director and keeps the connection open, so a client behind NAT or a firewall can be backed up. An empty value removes the directive.
enabled=boolyes, norepeatableA disabled client is not backed up by scheduled jobs; enable client and disable client change it at run time. An empty value removes the directive.
hardquota=stringrepeatableUpper limit for the data of this client; a backup that would go beyond it fails. 0 means no limit. An empty value removes the directive.
softquota=stringrepeatableSoft limit for the data of this client: beyond it a warning is written, and after the Soft Quota Grace Period jobs fail. An empty value removes the directive.
softquotagraceperiod=stringrepeatableHow long the soft quota may be exceeded before jobs fail. An empty value removes the directive.
strictquotas=boolyes, norepeatableWhen the soft quota grace period has run out: yes makes the soft quota a hard limit; no lets jobs run up to the hard quota. An empty value removes the directive.
quotaincludefailedjobs=boolyes, norepeatableCount the data of failed jobs into the quota. An empty value removes the directive.
heartbeatinterval=stringrepeatableInterval of keep-alive packets to the File Daemon. 0 switches it off. An empty value removes the directive.
maximumconcurrentjobs=stringrepeatableHow many jobs may run on this client at the same time; further jobs wait. An empty value removes the directive.
maximumbandwidthperjob=stringrepeatableLimits the bandwidth of each job of this client. An empty value removes the directive.
ndmploglevel=stringrepeatableDetail of NDMP messages of this client, 0 to 9. An empty value removes the directive.
ndmpblocksize=stringrepeatableBlock size of NDMP backups. An empty value removes the directive.
ndmpuselmdb=boolyes, norepeatableKeep the NDMP file history in an LMDB database during the job instead of in memory, for filers with many files. An empty value removes the directive.
tlsauthenticate=boolyes, norepeatableUse TLS only to authenticate the peer and switch back to an unencrypted connection afterwards. An empty value removes the directive.
tlsenable=boolyes, norepeatableEnable TLS for this connection. An empty value removes the directive.
tlsrequire=boolyes, norepeatableRefuse connections that do not use TLS. An empty value removes the directive.
tlscipherlist=stringrepeatableOpenSSL cipher list for TLS 1.2 and older, colon separated. An empty value removes the directive.
tlsciphersuites=stringrepeatableOpenSSL cipher suites for TLS 1.3, colon separated. An empty value removes the directive.
tlsdhfile=stringrepeatablePEM file with Diffie-Hellman parameters for the DH key exchange of TLS 1.2. An empty value removes the directive.
tlsprotocol=stringrepeatableRestricts the TLS protocol versions in OpenSSL syntax, for example to forbid old versions. An empty value removes the directive.
tlsverifypeer=boolyes, norepeatableWith certificate based TLS: check the peer’s certificate against the CA and, for a server, against TLS Allowed CN. An empty value removes the directive.
tlscacertificatefile=stringrepeatablePEM file with the CA certificates used to verify the peer’s certificate. An empty value removes the directive.
tlscacertificatedir=stringrepeatableDirectory of hashed CA certificates (as made by openssl rehash), an alternative to TLS CA Certificate File. An empty value removes the directive.
tlscertificaterevocationlist=stringrepeatablePEM file with a certificate revocation list; certificates on it are refused. An empty value removes the directive.
tlscertificate=stringrepeatablePEM file with the own certificate for certificate based TLS. An empty value removes the directive.
tlskey=stringrepeatablePEM file with the private key of TLS Certificate. An empty value removes the directive.
tlsallowedcn=stringrepeatableCommon names a peer certificate may carry; others are refused when TLS Verify Peer is on. An empty value removes the directive.

Also accepts the arguments of configure update: yes.

configure update job

Change a job.

configure update job=<job> [yes] [description=<description> ...]
                        [type=<type> ...] [protocol=<protocol> ...]
                        [backupformat=<backupformat> ...] [level=<level> ...]
                        [messages=<messages> ...] [storage=<storage> ...]
                        [pool=<pool> ...]
                        [fullbackuppool=<fullbackuppool> ...]
                        [virtualfullbackuppool=<virtualfullbackuppool> ...]
                        [incrementalbackuppool=<incrementalbackuppool> ...]
                        [differentialbackuppool=<differentialbackuppool> ...]
                        [nextpool=<nextpool> ...] [client=<client> ...]
                        [fileset=<fileset> ...] [schedule=<schedule> ...]
                        [jobtoverify=<jobtoverify> ...]
                        [verifyjob=<verifyjob> ...] [catalog=<catalog> ...]
                        [jobdefs=<jobdefs> ...] [run=<run> ...]
                        [where=<where> ...] [regexwhere=<regexwhere> ...]
                        [stripprefix=<stripprefix> ...]
                        [addprefix=<addprefix> ...]
                        [addsuffix=<addsuffix> ...]
                        [bootstrap=<bootstrap> ...]
                        [writebootstrap=<writebootstrap> ...]
                        [replace=<Always|IfNewer|IfOlder|Never> ...]
                        [maximumbandwidth=<maximumbandwidth> ...]
                        [maxrunschedtime=<maxrunschedtime> ...]
                        [maxruntime=<maxruntime> ...]
                        [fullmaxruntime=<fullmaxruntime> ...]
                        [incrementalmaxruntime=<incrementalmaxruntime> ...]
                        [differentialmaxruntime=<differentialmaxruntime> ...]
                        [maxwaittime=<maxwaittime> ...]
                        [maxstartdelay=<maxstartdelay> ...]
                        [maxfullinterval=<maxfullinterval> ...]
                        [maxvirtualfullinterval=<maxvirtualfullinterval> ...]
                        [maxdiffinterval=<maxdiffinterval> ...]
                        [prefixlinks=<yes|no> ...] [prunejobs=<yes|no> ...]
                        [prunefiles=<yes|no> ...] [prunevolumes=<yes|no> ...]
                        [purgemigrationjob=<yes|no> ...]
                        [enabled=<yes|no> ...] [spoolattributes=<yes|no> ...]
                        [spooldata=<yes|no> ...] [spoolsize=<spoolsize> ...]
                        [rerunfailedlevels=<yes|no> ...]
                        [prefermountedvolumes=<yes|no> ...]
                        [runbeforejob=<runbeforejob> ...]
                        [runafterjob=<runafterjob> ...]
                        [runafterfailedjob=<runafterfailedjob> ...]
                        [clientrunbeforejob=<clientrunbeforejob> ...]
                        [clientrunafterjob=<clientrunafterjob> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [rescheduleonerror=<yes|no> ...]
                        [rescheduleinterval=<rescheduleinterval> ...]
                        [rescheduletimes=<rescheduletimes> ...]
                        [priority=<priority> ...]
                        [allowmixedpriority=<yes|no> ...]
                        [selectionpattern=<selectionpattern> ...]
                        [runscript=<runscript> ...]
                        [selectiontype=<selectiontype> ...]
                        [accurate=<yes|no> ...]
                        [allowduplicatejobs=<yes|no> ...]
                        [cancellowerlevelduplicates=<yes|no> ...]
                        [cancelqueuedduplicates=<yes|no> ...]
                        [cancelrunningduplicates=<yes|no> ...]
                        [savefilehistory=<yes|no> ...]
                        [filehistorysize=<filehistorysize> ...]
                        [fdpluginoptions=<fdpluginoptions> ...]
                        [sdpluginoptions=<sdpluginoptions> ...]
                        [dirpluginoptions=<dirpluginoptions> ...]
                        [maxconcurrentcopies=<maxconcurrentcopies> ...]
                        [alwaysincremental=<yes|no> ...]
                        [alwaysincrementaljobretention=<alwaysincrementaljobretention> ...]
                        [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber> ...]
                        [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage> ...]
                        [maxfullconsolidations=<maxfullconsolidations> ...]
                        [runonincomingconnectinterval=<runonincomingconnectinterval> ...]
                        [newclient=<newclient> ...]
                        [newfileset=<newfileset> ...] [newpool=<newpool> ...]
                        [newstorage=<newstorage> ...]
                        [newschedule=<newschedule> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
job=resourcefrom .jobsResource name.
description=stringrepeatableFree text describing the job. An empty value removes the directive.
type=enumBackup, Admin, Archive, Verify, Restore, Migrate, Copy, ConsolidaterepeatableWhat the job does: Backup, Restore, Verify, Admin (runs only its scripts), Migrate, Copy, Consolidate (Always Incremental), or Archive. An empty value removes the directive.
protocol=enumNative, NDMP_BAREOS, NDMP, NDMP_NATIVErepeatableBackup protocol: Native for the Bareos File Daemon; NDMP_BAREOS or NDMP_NATIVE for NAS filers (data stored by Bareos or by an NDMP tape server). An empty value removes the directive.
backupformat=stringrepeatableFormat of NDMP backups (for example dump or tar, depending on the filer); Native for normal jobs. An empty value removes the directive.
level=enumFull, Base, Incremental, Differential, Since, VirtualFull, Catalog, InitCatalog, VolumeToCatalog, DiskToCatalog, DatarepeatableDefault level of the job: for backups Full, Incremental, Differential or VirtualFull; for verify jobs InitCatalog, Catalog, VolumeToCatalog, DiskToCatalog or Data. An empty value removes the directive.
messages=resourcefrom .msgsrepeatableMessages resource that decides where the job’s messages go (job log in the catalog, mail, log file). An empty value removes the directive.
storage=resourcefrom .storagesrepeatableStorage the job writes to (or reads from). An empty value removes the directive.
pool=resourcefrom .poolsrepeatablePool the job writes to. An empty value removes the directive.
fullbackuppool=resourcefrom .poolsrepeatablePool used when the job runs at level Full, so Fulls can have their own retention. An empty value removes the directive.
virtualfullbackuppool=resourcefrom .poolsrepeatablePool a VirtualFull is written to. An empty value removes the directive.
incrementalbackuppool=resourcefrom .poolsrepeatablePool used for Incremental runs. An empty value removes the directive.
differentialbackuppool=resourcefrom .poolsrepeatablePool used for Differential runs. An empty value removes the directive.
nextpool=resourcefrom .poolsrepeatablePool that Copy, Migrate and VirtualFull jobs write to. An empty value removes the directive.
client=resourcefrom .clientsrepeatableClient (File Daemon) the job backs up or, for restores, restores to by default. An empty value removes the directive.
fileset=resourcefrom .filesetsrepeatableFileSet that says what is backed up. An empty value removes the directive.
schedule=resourcefrom .schedulerepeatableSchedule that starts the job automatically. An empty value removes the directive.
jobtoverify=resourcefrom .jobsrepeatableFor verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). An empty value removes the directive.
verifyjob=resourcefrom .jobsrepeatableFor verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). An empty value removes the directive.
catalog=resourcefrom .catalogsrepeatableCatalog for this job, overriding that of the client. An empty value removes the directive.
jobdefs=resourcefrom .jobdefsrepeatableJobDefs resource whose directives this job inherits. An empty value removes the directive.
run=stringrepeatableStarts another job (or a copy of this one with other settings) when this job is started, in run command syntax, for example a second backup to another storage. An empty value removes the directive.
where=stringrepeatableFor restore jobs: directory prefix the files are restored under. / restores to the original place. An empty value removes the directive.
regexwhere=stringrepeatableFor restore jobs: rewrites the paths of restored files with sed-like expressions (!from!to!), instead of a plain prefix. An empty value removes the directive.
stripprefix=stringrepeatableFor restore jobs: removes this prefix from the paths before restoring. An empty value removes the directive.
addprefix=stringrepeatableFor restore jobs: adds this prefix to the paths (like Where). An empty value removes the directive.
addsuffix=stringrepeatableFor restore jobs: adds this suffix to the restored file names, for example to keep existing files. An empty value removes the directive.
bootstrap=stringrepeatableBootstrap file a restore job reads to find the data on the volumes. An empty value removes the directive.
writebootstrap=stringrepeatableFile (or, starting with |, a command) the job writes its bootstrap to after a backup: which volumes and blocks hold this job. An empty value removes the directive.
replace=enumAlways, IfNewer, IfOlder, NeverrepeatableFor restore jobs: what happens to files that exist already: always (overwrite), ifnewer (only if the backup is newer), ifolder (only if it is older) or never. An empty value removes the directive.
maximumbandwidth=stringrepeatableLimits the bandwidth of this job. An empty value removes the directive.
maxrunschedtime=stringrepeatableCancels the job if it has not finished this long after its scheduled time (waiting counts). An empty value removes the directive.
maxruntime=stringrepeatableCancels the job if it runs longer than this from its actual start. An empty value removes the directive.
fullmaxruntime=stringrepeatableMax Run Time for Full runs only. An empty value removes the directive.
incrementalmaxruntime=stringrepeatableMax Run Time for Incremental runs only. An empty value removes the directive.
differentialmaxruntime=stringrepeatableMax Run Time for Differential runs only. An empty value removes the directive.
maxwaittime=stringrepeatableCancels the job if it waits longer than this for a resource (a volume, a device, a concurrency slot) after it started. An empty value removes the directive.
maxstartdelay=stringrepeatableCancels the job if it cannot start within this time after its scheduled time, so a nightly job that missed its window does not run in the day. An empty value removes the directive.
maxfullinterval=stringrepeatableUpgrades an Incremental or Differential to Full when the last successful Full is older than this. An empty value removes the directive.
maxvirtualfullinterval=stringrepeatableUpgrades a run to VirtualFull when the last VirtualFull (or Full) is older than this. An empty value removes the directive.
maxdiffinterval=stringrepeatableUpgrades an Incremental to Differential when the last Differential is older than this. An empty value removes the directive.
prefixlinks=boolyes, norepeatableFor restores with Where: also prefix the targets of absolute symbolic links, so they point into the restore directory. An empty value removes the directive.
prunejobs=boolyes, norepeatablePrune the job records of this job’s client after the job, as if the retention had been applied by prune jobs. An empty value removes the directive.
prunefiles=boolyes, norepeatablePrune the file records of this job’s client after the job. An empty value removes the directive.
prunevolumes=boolyes, norepeatablePrune the volumes of the pool after the job. An empty value removes the directive.
purgemigrationjob=boolyes, norepeatableAfter a successful migration, purge the migrated (source) job from the catalog. An empty value removes the directive.
enabled=boolyes, norepeatableA disabled job is not started by its schedule; it can still be run by hand. enable job and disable job change it at run time. An empty value removes the directive.
spoolattributes=boolyes, norepeatableSpool the file attributes on the Storage Daemon and insert them into the catalog at the end of the job, instead of while writing. An empty value removes the directive.
spooldata=boolyes, norepeatableSpool the data to disk on the Storage Daemon first and write it to the volume in big chunks. An empty value removes the directive.
spoolsize=stringrepeatableUpper limit of the spool file of this job. An empty value removes the directive.
rerunfailedlevels=boolyes, norepeatableIf the last Full (or Differential) failed, run the next job at that level again instead of the scheduled lower level. An empty value removes the directive.
prefermountedvolumes=boolyes, norepeatablePrefer a drive that has a usable volume mounted. An empty value removes the directive.
runbeforejob=stringrepeatableCommand the Director runs before the job; a failing command cancels the job. An empty value removes the directive.
runafterjob=stringrepeatableCommand the Director runs after a successful job (RunScript, RunsWhen = After, RunsOnFailure = no). An empty value removes the directive.
runafterfailedjob=stringrepeatableCommand the Director runs after a failed job. An empty value removes the directive.
clientrunbeforejob=stringrepeatableCommand the File Daemon runs on the client before the backup, for example a database dump. An empty value removes the directive.
clientrunafterjob=stringrepeatableCommand the File Daemon runs on the client after the job. An empty value removes the directive.
maximumconcurrentjobs=stringrepeatableHow many runs of this job may run at the same time; usually 1, so a slow run is not overtaken by the next one. An empty value removes the directive.
rescheduleonerror=boolyes, norepeatableStart the job again when it failed, after Reschedule Interval, at most Reschedule Times times. An empty value removes the directive.
rescheduleinterval=stringrepeatableWait between a failed run and its retry. An empty value removes the directive.
rescheduletimes=stringrepeatableHow many times a failed job is retried; 0 means without limit. An empty value removes the directive.
priority=stringrepeatablePriority of the job: smaller numbers first. An empty value removes the directive.
allowmixedpriority=boolyes, norepeatableAllow this job to run together with jobs of other priorities, as long as they allow it as well. An empty value removes the directive.
selectionpattern=stringrepeatableFor Copy and Migrate jobs: the pattern or SQL query used by Selection Type (a job or client name pattern, or a query returning job IDs). An empty value removes the directive.
runscript=stringrepeatableBlock that runs a command or console command before or after the job, on the Director or the client, with control over failure handling. An empty value removes the directive.
selectiontype=enumSmallestVolume, OldestVolume, PoolOccupancy, PoolTime, PoolUncopiedJobs, Client, Volume, Job, SqlQueryrepeatableFor Copy and Migrate jobs: how the source jobs are chosen: SmallestVolume, OldestVolume, Client, Volume, Job, SQLQuery, PoolOccupancy, PoolTime, PoolUncopiedJobs. An empty value removes the directive.
accurate=boolyes, norepeatableAccurate mode: the File Daemon receives the file list of the previous backups and also records deleted and renamed files, so a restore gives exactly the state of the backup. An empty value removes the directive.
allowduplicatejobs=boolyes, norepeatableAllow a second run of the same job while one is queued or running. An empty value removes the directive.
cancellowerlevelduplicates=boolyes, norepeatableWith Allow Duplicate Jobs = no: cancel the duplicate of the lower level (an Incremental gives way to a Full). An empty value removes the directive.
cancelqueuedduplicates=boolyes, norepeatableWith Allow Duplicate Jobs = no: cancel a duplicate that is still waiting in the queue. An empty value removes the directive.
cancelrunningduplicates=boolyes, norepeatableWith Allow Duplicate Jobs = no: cancel the duplicate that is already running in favour of the new one. An empty value removes the directive.
savefilehistory=boolyes, norepeatableFor NDMP: store the file history sent by the filer, so single files can be restored. An empty value removes the directive.
filehistorysize=stringrepeatableFor NDMP: size of the file history buffer. An empty value removes the directive.
fdpluginoptions=stringrepeatableOptions passed to the File Daemon plugins of this job. An empty value removes the directive.
sdpluginoptions=stringrepeatableOptions passed to the Storage Daemon plugins of this job. An empty value removes the directive.
dirpluginoptions=stringrepeatableOptions passed to the Director plugins of this job. An empty value removes the directive.
maxconcurrentcopies=stringrepeatableFor Copy jobs: how many copy jobs are started at once from one selection. An empty value removes the directive.
alwaysincremental=boolyes, norepeatableAlways Incremental scheme: only Incrementals are taken, and a Consolidate job merges the old ones into a VirtualFull. An empty value removes the directive.
alwaysincrementaljobretention=stringrepeatableIncrementals younger than this are not consolidated. An empty value removes the directive.
alwaysincrementalkeepnumber=stringrepeatableHow many Incrementals are always kept unconsolidated, even when they are older than the retention. An empty value removes the directive.
alwaysincrementalmaxfullage=stringrepeatableWhen the Full of an Always Incremental chain is older than this, the Consolidate job includes it, so the Full does not grow old. An empty value removes the directive.
maxfullconsolidations=stringrepeatableHow many Fulls a Consolidate job may consolidate in one run (because of Always Incremental Max Full Age); 0 means no limit. An empty value removes the directive.
runonincomingconnectinterval=stringrepeatableFor clients that connect to the Director (Connection From Client To Director): start this job when the client connects and the last run is older than this interval. 0 switches it off. An empty value removes the directive.
newclient=resourcefrom .clientsrepeatableDirective (empty value removes it).
newfileset=resourcefrom .filesetsrepeatableDirective (empty value removes it).
newpool=resourcefrom .poolsrepeatableDirective (empty value removes it).
newstorage=resourcefrom .storagesrepeatableDirective (empty value removes it).
newschedule=resourcefrom .schedulerepeatableDirective (empty value removes it).

Also accepts the arguments of configure update: yes.

configure update jobdefs

Change a jobdefs.

configure update jobdefs=<jobdefs> [yes] [description=<description> ...]
                        [type=<type> ...] [protocol=<protocol> ...]
                        [backupformat=<backupformat> ...] [level=<level> ...]
                        [messages=<messages> ...] [storage=<storage> ...]
                        [pool=<pool> ...]
                        [fullbackuppool=<fullbackuppool> ...]
                        [virtualfullbackuppool=<virtualfullbackuppool> ...]
                        [incrementalbackuppool=<incrementalbackuppool> ...]
                        [differentialbackuppool=<differentialbackuppool> ...]
                        [nextpool=<nextpool> ...] [client=<client> ...]
                        [fileset=<fileset> ...] [schedule=<schedule> ...]
                        [jobtoverify=<jobtoverify> ...]
                        [verifyjob=<verifyjob> ...] [catalog=<catalog> ...]
                        [run=<run> ...] [where=<where> ...]
                        [regexwhere=<regexwhere> ...]
                        [stripprefix=<stripprefix> ...]
                        [addprefix=<addprefix> ...]
                        [addsuffix=<addsuffix> ...]
                        [bootstrap=<bootstrap> ...]
                        [writebootstrap=<writebootstrap> ...]
                        [replace=<Always|IfNewer|IfOlder|Never> ...]
                        [maximumbandwidth=<maximumbandwidth> ...]
                        [maxrunschedtime=<maxrunschedtime> ...]
                        [maxruntime=<maxruntime> ...]
                        [fullmaxruntime=<fullmaxruntime> ...]
                        [incrementalmaxruntime=<incrementalmaxruntime> ...]
                        [differentialmaxruntime=<differentialmaxruntime> ...]
                        [maxwaittime=<maxwaittime> ...]
                        [maxstartdelay=<maxstartdelay> ...]
                        [maxfullinterval=<maxfullinterval> ...]
                        [maxvirtualfullinterval=<maxvirtualfullinterval> ...]
                        [maxdiffinterval=<maxdiffinterval> ...]
                        [prefixlinks=<yes|no> ...] [prunejobs=<yes|no> ...]
                        [prunefiles=<yes|no> ...] [prunevolumes=<yes|no> ...]
                        [purgemigrationjob=<yes|no> ...]
                        [enabled=<yes|no> ...] [spoolattributes=<yes|no> ...]
                        [spooldata=<yes|no> ...] [spoolsize=<spoolsize> ...]
                        [rerunfailedlevels=<yes|no> ...]
                        [prefermountedvolumes=<yes|no> ...]
                        [runbeforejob=<runbeforejob> ...]
                        [runafterjob=<runafterjob> ...]
                        [runafterfailedjob=<runafterfailedjob> ...]
                        [clientrunbeforejob=<clientrunbeforejob> ...]
                        [clientrunafterjob=<clientrunafterjob> ...]
                        [maximumconcurrentjobs=<maximumconcurrentjobs> ...]
                        [rescheduleonerror=<yes|no> ...]
                        [rescheduleinterval=<rescheduleinterval> ...]
                        [rescheduletimes=<rescheduletimes> ...]
                        [priority=<priority> ...]
                        [allowmixedpriority=<yes|no> ...]
                        [selectionpattern=<selectionpattern> ...]
                        [runscript=<runscript> ...]
                        [selectiontype=<selectiontype> ...]
                        [accurate=<yes|no> ...]
                        [allowduplicatejobs=<yes|no> ...]
                        [cancellowerlevelduplicates=<yes|no> ...]
                        [cancelqueuedduplicates=<yes|no> ...]
                        [cancelrunningduplicates=<yes|no> ...]
                        [savefilehistory=<yes|no> ...]
                        [filehistorysize=<filehistorysize> ...]
                        [fdpluginoptions=<fdpluginoptions> ...]
                        [sdpluginoptions=<sdpluginoptions> ...]
                        [dirpluginoptions=<dirpluginoptions> ...]
                        [maxconcurrentcopies=<maxconcurrentcopies> ...]
                        [alwaysincremental=<yes|no> ...]
                        [alwaysincrementaljobretention=<alwaysincrementaljobretention> ...]
                        [alwaysincrementalkeepnumber=<alwaysincrementalkeepnumber> ...]
                        [alwaysincrementalmaxfullage=<alwaysincrementalmaxfullage> ...]
                        [maxfullconsolidations=<maxfullconsolidations> ...]
                        [runonincomingconnectinterval=<runonincomingconnectinterval> ...]
                        [newclient=<newclient> ...]
                        [newfileset=<newfileset> ...] [newpool=<newpool> ...]
                        [newstorage=<newstorage> ...]
                        [newschedule=<newschedule> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobdefs=resourcefrom .jobdefsResource name.
description=stringrepeatableFree text describing the job. An empty value removes the directive.
type=enumBackup, Admin, Archive, Verify, Restore, Migrate, Copy, ConsolidaterepeatableWhat the job does: Backup, Restore, Verify, Admin (runs only its scripts), Migrate, Copy, Consolidate (Always Incremental), or Archive. An empty value removes the directive.
protocol=enumNative, NDMP_BAREOS, NDMP, NDMP_NATIVErepeatableBackup protocol: Native for the Bareos File Daemon; NDMP_BAREOS or NDMP_NATIVE for NAS filers (data stored by Bareos or by an NDMP tape server). An empty value removes the directive.
backupformat=stringrepeatableFormat of NDMP backups (for example dump or tar, depending on the filer); Native for normal jobs. An empty value removes the directive.
level=enumFull, Base, Incremental, Differential, Since, VirtualFull, Catalog, InitCatalog, VolumeToCatalog, DiskToCatalog, DatarepeatableDefault level of the job: for backups Full, Incremental, Differential or VirtualFull; for verify jobs InitCatalog, Catalog, VolumeToCatalog, DiskToCatalog or Data. An empty value removes the directive.
messages=resourcefrom .msgsrepeatableMessages resource that decides where the job’s messages go (job log in the catalog, mail, log file). An empty value removes the directive.
storage=resourcefrom .storagesrepeatableStorage the job writes to (or reads from). An empty value removes the directive.
pool=resourcefrom .poolsrepeatablePool the job writes to. An empty value removes the directive.
fullbackuppool=resourcefrom .poolsrepeatablePool used when the job runs at level Full, so Fulls can have their own retention. An empty value removes the directive.
virtualfullbackuppool=resourcefrom .poolsrepeatablePool a VirtualFull is written to. An empty value removes the directive.
incrementalbackuppool=resourcefrom .poolsrepeatablePool used for Incremental runs. An empty value removes the directive.
differentialbackuppool=resourcefrom .poolsrepeatablePool used for Differential runs. An empty value removes the directive.
nextpool=resourcefrom .poolsrepeatablePool that Copy, Migrate and VirtualFull jobs write to. An empty value removes the directive.
client=resourcefrom .clientsrepeatableClient (File Daemon) the job backs up or, for restores, restores to by default. An empty value removes the directive.
fileset=resourcefrom .filesetsrepeatableFileSet that says what is backed up. An empty value removes the directive.
schedule=resourcefrom .schedulerepeatableSchedule that starts the job automatically. An empty value removes the directive.
jobtoverify=resourcefrom .jobsrepeatableFor verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). An empty value removes the directive.
verifyjob=resourcefrom .jobsrepeatableFor verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). An empty value removes the directive.
catalog=resourcefrom .catalogsrepeatableCatalog for this job, overriding that of the client. An empty value removes the directive.
jobdefs=resourcefrom .jobdefsrepeatableJobDefs resource whose directives this job inherits. An empty value removes the directive.
run=stringrepeatableStarts another job (or a copy of this one with other settings) when this job is started, in run command syntax, for example a second backup to another storage. An empty value removes the directive.
where=stringrepeatableFor restore jobs: directory prefix the files are restored under. / restores to the original place. An empty value removes the directive.
regexwhere=stringrepeatableFor restore jobs: rewrites the paths of restored files with sed-like expressions (!from!to!), instead of a plain prefix. An empty value removes the directive.
stripprefix=stringrepeatableFor restore jobs: removes this prefix from the paths before restoring. An empty value removes the directive.
addprefix=stringrepeatableFor restore jobs: adds this prefix to the paths (like Where). An empty value removes the directive.
addsuffix=stringrepeatableFor restore jobs: adds this suffix to the restored file names, for example to keep existing files. An empty value removes the directive.
bootstrap=stringrepeatableBootstrap file a restore job reads to find the data on the volumes. An empty value removes the directive.
writebootstrap=stringrepeatableFile (or, starting with |, a command) the job writes its bootstrap to after a backup: which volumes and blocks hold this job. An empty value removes the directive.
replace=enumAlways, IfNewer, IfOlder, NeverrepeatableFor restore jobs: what happens to files that exist already: always (overwrite), ifnewer (only if the backup is newer), ifolder (only if it is older) or never. An empty value removes the directive.
maximumbandwidth=stringrepeatableLimits the bandwidth of this job. An empty value removes the directive.
maxrunschedtime=stringrepeatableCancels the job if it has not finished this long after its scheduled time (waiting counts). An empty value removes the directive.
maxruntime=stringrepeatableCancels the job if it runs longer than this from its actual start. An empty value removes the directive.
fullmaxruntime=stringrepeatableMax Run Time for Full runs only. An empty value removes the directive.
incrementalmaxruntime=stringrepeatableMax Run Time for Incremental runs only. An empty value removes the directive.
differentialmaxruntime=stringrepeatableMax Run Time for Differential runs only. An empty value removes the directive.
maxwaittime=stringrepeatableCancels the job if it waits longer than this for a resource (a volume, a device, a concurrency slot) after it started. An empty value removes the directive.
maxstartdelay=stringrepeatableCancels the job if it cannot start within this time after its scheduled time, so a nightly job that missed its window does not run in the day. An empty value removes the directive.
maxfullinterval=stringrepeatableUpgrades an Incremental or Differential to Full when the last successful Full is older than this. An empty value removes the directive.
maxvirtualfullinterval=stringrepeatableUpgrades a run to VirtualFull when the last VirtualFull (or Full) is older than this. An empty value removes the directive.
maxdiffinterval=stringrepeatableUpgrades an Incremental to Differential when the last Differential is older than this. An empty value removes the directive.
prefixlinks=boolyes, norepeatableFor restores with Where: also prefix the targets of absolute symbolic links, so they point into the restore directory. An empty value removes the directive.
prunejobs=boolyes, norepeatablePrune the job records of this job’s client after the job, as if the retention had been applied by prune jobs. An empty value removes the directive.
prunefiles=boolyes, norepeatablePrune the file records of this job’s client after the job. An empty value removes the directive.
prunevolumes=boolyes, norepeatablePrune the volumes of the pool after the job. An empty value removes the directive.
purgemigrationjob=boolyes, norepeatableAfter a successful migration, purge the migrated (source) job from the catalog. An empty value removes the directive.
enabled=boolyes, norepeatableA disabled job is not started by its schedule; it can still be run by hand. enable job and disable job change it at run time. An empty value removes the directive.
spoolattributes=boolyes, norepeatableSpool the file attributes on the Storage Daemon and insert them into the catalog at the end of the job, instead of while writing. An empty value removes the directive.
spooldata=boolyes, norepeatableSpool the data to disk on the Storage Daemon first and write it to the volume in big chunks. An empty value removes the directive.
spoolsize=stringrepeatableUpper limit of the spool file of this job. An empty value removes the directive.
rerunfailedlevels=boolyes, norepeatableIf the last Full (or Differential) failed, run the next job at that level again instead of the scheduled lower level. An empty value removes the directive.
prefermountedvolumes=boolyes, norepeatablePrefer a drive that has a usable volume mounted. An empty value removes the directive.
runbeforejob=stringrepeatableCommand the Director runs before the job; a failing command cancels the job. An empty value removes the directive.
runafterjob=stringrepeatableCommand the Director runs after a successful job (RunScript, RunsWhen = After, RunsOnFailure = no). An empty value removes the directive.
runafterfailedjob=stringrepeatableCommand the Director runs after a failed job. An empty value removes the directive.
clientrunbeforejob=stringrepeatableCommand the File Daemon runs on the client before the backup, for example a database dump. An empty value removes the directive.
clientrunafterjob=stringrepeatableCommand the File Daemon runs on the client after the job. An empty value removes the directive.
maximumconcurrentjobs=stringrepeatableHow many runs of this job may run at the same time; usually 1, so a slow run is not overtaken by the next one. An empty value removes the directive.
rescheduleonerror=boolyes, norepeatableStart the job again when it failed, after Reschedule Interval, at most Reschedule Times times. An empty value removes the directive.
rescheduleinterval=stringrepeatableWait between a failed run and its retry. An empty value removes the directive.
rescheduletimes=stringrepeatableHow many times a failed job is retried; 0 means without limit. An empty value removes the directive.
priority=stringrepeatablePriority of the job: smaller numbers first. An empty value removes the directive.
allowmixedpriority=boolyes, norepeatableAllow this job to run together with jobs of other priorities, as long as they allow it as well. An empty value removes the directive.
selectionpattern=stringrepeatableFor Copy and Migrate jobs: the pattern or SQL query used by Selection Type (a job or client name pattern, or a query returning job IDs). An empty value removes the directive.
runscript=stringrepeatableBlock that runs a command or console command before or after the job, on the Director or the client, with control over failure handling. An empty value removes the directive.
selectiontype=enumSmallestVolume, OldestVolume, PoolOccupancy, PoolTime, PoolUncopiedJobs, Client, Volume, Job, SqlQueryrepeatableFor Copy and Migrate jobs: how the source jobs are chosen: SmallestVolume, OldestVolume, Client, Volume, Job, SQLQuery, PoolOccupancy, PoolTime, PoolUncopiedJobs. An empty value removes the directive.
accurate=boolyes, norepeatableAccurate mode: the File Daemon receives the file list of the previous backups and also records deleted and renamed files, so a restore gives exactly the state of the backup. An empty value removes the directive.
allowduplicatejobs=boolyes, norepeatableAllow a second run of the same job while one is queued or running. An empty value removes the directive.
cancellowerlevelduplicates=boolyes, norepeatableWith Allow Duplicate Jobs = no: cancel the duplicate of the lower level (an Incremental gives way to a Full). An empty value removes the directive.
cancelqueuedduplicates=boolyes, norepeatableWith Allow Duplicate Jobs = no: cancel a duplicate that is still waiting in the queue. An empty value removes the directive.
cancelrunningduplicates=boolyes, norepeatableWith Allow Duplicate Jobs = no: cancel the duplicate that is already running in favour of the new one. An empty value removes the directive.
savefilehistory=boolyes, norepeatableFor NDMP: store the file history sent by the filer, so single files can be restored. An empty value removes the directive.
filehistorysize=stringrepeatableFor NDMP: size of the file history buffer. An empty value removes the directive.
fdpluginoptions=stringrepeatableOptions passed to the File Daemon plugins of this job. An empty value removes the directive.
sdpluginoptions=stringrepeatableOptions passed to the Storage Daemon plugins of this job. An empty value removes the directive.
dirpluginoptions=stringrepeatableOptions passed to the Director plugins of this job. An empty value removes the directive.
maxconcurrentcopies=stringrepeatableFor Copy jobs: how many copy jobs are started at once from one selection. An empty value removes the directive.
alwaysincremental=boolyes, norepeatableAlways Incremental scheme: only Incrementals are taken, and a Consolidate job merges the old ones into a VirtualFull. An empty value removes the directive.
alwaysincrementaljobretention=stringrepeatableIncrementals younger than this are not consolidated. An empty value removes the directive.
alwaysincrementalkeepnumber=stringrepeatableHow many Incrementals are always kept unconsolidated, even when they are older than the retention. An empty value removes the directive.
alwaysincrementalmaxfullage=stringrepeatableWhen the Full of an Always Incremental chain is older than this, the Consolidate job includes it, so the Full does not grow old. An empty value removes the directive.
maxfullconsolidations=stringrepeatableHow many Fulls a Consolidate job may consolidate in one run (because of Always Incremental Max Full Age); 0 means no limit. An empty value removes the directive.
runonincomingconnectinterval=stringrepeatableFor clients that connect to the Director (Connection From Client To Director): start this job when the client connects and the last run is older than this interval. 0 switches it off. An empty value removes the directive.
newclient=resourcefrom .clientsrepeatableDirective (empty value removes it).
newfileset=resourcefrom .filesetsrepeatableDirective (empty value removes it).
newpool=resourcefrom .poolsrepeatableDirective (empty value removes it).
newstorage=resourcefrom .storagesrepeatableDirective (empty value removes it).
newschedule=resourcefrom .schedulerepeatableDirective (empty value removes it).

Also accepts the arguments of configure update: yes.

configure update schedule

Change a schedule.

configure update schedule=<schedule> [yes] [description=<description> ...]
                        [run=<run> ...] [enabled=<yes|no> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
schedule=resourcefrom .scheduleResource name.
description=stringrepeatableFree text describing the schedule. An empty value removes the directive.
run=stringrepeatableWhen the jobs of this schedule run, one directive per rule: optional level and overrides, then the date and time specification. An empty value removes the directive.
enabled=boolyes, norepeatableA disabled schedule starts no job; enable schedule and disable schedule change it at run time. An empty value removes the directive.

Also accepts the arguments of configure update: yes.

configure update fileset

Change a fileset.

configure update fileset=<fileset> [yes] [description=<description> ...]
                        [include=<include> ...] [exclude=<exclude> ...]
                        [ignorefilesetchanges=<yes|no> ...]
                        [enablevss=<yes|no> ...]
ArgumentTypeValues / sourceDefaultFlagsDescription
fileset=resourcefrom .filesetsResource name.
description=stringrepeatableFree text describing the FileSet. An empty value removes the directive.
include=stringrepeatableBlock with the files to back up (File, Plugin) and Options blocks that say how. An empty value removes the directive.
exclude=stringrepeatableBlock with files and directories to leave out (File lines). An empty value removes the directive.
ignorefilesetchanges=boolyes, norepeatableNormally a change of the FileSet makes the next Incremental or Differential a Full, since the old backups do not contain the new files. An empty value removes the directive.
enablevss=boolyes, norepeatableOn Windows clients: back up from a Volume Shadow Copy snapshot, so open files are consistent. An empty value removes the directive.

Also accepts the arguments of configure update: yes.

configure delete

Onesimus extension

Delete an unreferenced resource (Onesimus).

Onesimus extension: deletes a client, job, jobdefs, schedule or fileset through the configuration CRUD, the same path as .config delete. The resource is read for its current checksum and deleted only if no other resource still refers to it; otherwise the referring resources are listed and nothing is deleted. The remaining configuration is checked like odir -t, the file change is atomic and a failed reload is rolled back.

pool, storage and console are refused; remove such files by hand and reload. The resource ACL of the console applies.

configure delete client=<client>
configure delete job=<job>
configure delete jobdefs=<jobdefs>
configure delete schedule=<schedule>
configure delete fileset=<fileset>

Delete a fileset no job uses any more:

configure delete fileset=OldFileSet

Delete a client, refused while a job still names it:

configure delete client=old-fd

configure delete client

Delete a client.

configure delete client=<client>
ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsResource name.

configure delete job

Delete a job.

configure delete job=<job>
ArgumentTypeValues / sourceDefaultFlagsDescription
job=resourcefrom .jobsResource name.

configure delete jobdefs

Delete a jobdefs.

configure delete jobdefs=<jobdefs>
ArgumentTypeValues / sourceDefaultFlagsDescription
jobdefs=resourcefrom .jobdefsResource name.

configure delete schedule

Delete a schedule.

configure delete schedule=<schedule>
ArgumentTypeValues / sourceDefaultFlagsDescription
schedule=resourcefrom .scheduleResource name.

configure delete fileset

Delete a fileset.

configure delete fileset=<fileset>
ArgumentTypeValues / sourceDefaultFlagsDescription
fileset=resourcefrom .filesetsResource name.

Examples

Add a client:

configure add client name=fd2 address=fd2.example.org password=secret

A console with the rights of a profile:

configure add console name=ops password=pw profile=operator

Replace the Run lines (Onesimus):

configure update schedule=Nightly run="Full sun at 23:00" run="Incremental mon-sat at 23:00"

Write the director resource for the file daemon of bareos-fd:

configure export client=bareos-fd

Remove an unused schedule (Onesimus):

configure delete schedule=OldNightly

See also

reload, show, .config, Command reference