configure
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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the client as jobs, the catalog and the job logs know it. | ||
description= | string | Free text describing the client. | |||
protocol= | enum | Native, NDMPV2, NDMPV3, NDMPV4 | Protocol to talk to the client: Native (the Bareos File Daemon) or one of the NDMP versions for NAS filers. | ||
authtype= | enum | None, Clear, MD5 | Authentication for NDMP clients: None, Clear or MD5. | ||
address= | string | required | Host name or IP address of the File Daemon. | ||
lanaddress= | string | Address 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= | integer | TCP port of the File Daemon. | |||
username= | string | User name for NDMP authentication. | |||
password= | string | required | Password shared with the File Daemon’s Director resource; with TLS-PSK it is also the TLS key. | ||
catalog= | resource | from .catalogs | Catalog the jobs of this client are stored in, for installations with several catalogs. | ||
passive= | bool | yes, no | Passive mode: the Storage Daemon connects to the File Daemon instead of the other way round. | ||
connectionfromdirectortoclient= | bool | yes, no | The Director opens the connection to the File Daemon (the normal case). | ||
connectionfromclienttodirector= | bool | yes, no | The File Daemon connects to the Director and keeps the connection open, so a client behind NAT or a firewall can be backed up. | ||
enabled= | bool | yes, no | A disabled client is not backed up by scheduled jobs; enable client and disable client change it at run time. | ||
hardquota= | string | Upper limit for the data of this client; a backup that would go beyond it fails. 0 means no limit. | |||
softquota= | string | Soft limit for the data of this client: beyond it a warning is written, and after the Soft Quota Grace Period jobs fail. | |||
softquotagraceperiod= | string | How long the soft quota may be exceeded before jobs fail. | |||
strictquotas= | bool | yes, no | When 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= | bool | yes, no | Count the data of failed jobs into the quota. | ||
heartbeatinterval= | string | Interval of keep-alive packets to the File Daemon. 0 switches it off. | |||
maximumconcurrentjobs= | integer | How many jobs may run on this client at the same time; further jobs wait. | |||
maximumbandwidthperjob= | string | Limits the bandwidth of each job of this client. | |||
ndmploglevel= | integer | Detail of NDMP messages of this client, 0 to 9. | |||
ndmpblocksize= | string | Block size of NDMP backups. | |||
ndmpuselmdb= | bool | yes, no | Keep the NDMP file history in an LMDB database during the job instead of in memory, for filers with many files. | ||
tlsauthenticate= | bool | yes, no | Use TLS only to authenticate the peer and switch back to an unencrypted connection afterwards. | ||
tlsenable= | bool | yes, no | Enable TLS for this connection. | ||
tlsrequire= | bool | yes, no | Refuse connections that do not use TLS. | ||
tlscipherlist= | string | OpenSSL cipher list for TLS 1.2 and older, colon separated. | |||
tlsciphersuites= | string | OpenSSL cipher suites for TLS 1.3, colon separated. | |||
tlsdhfile= | string | PEM file with Diffie-Hellman parameters for the DH key exchange of TLS 1.2. | |||
tlsprotocol= | string | Restricts the TLS protocol versions in OpenSSL syntax, for example to forbid old versions. | |||
tlsverifypeer= | bool | yes, no | With certificate based TLS: check the peer’s certificate against the CA and, for a server, against TLS Allowed CN. | ||
tlscacertificatefile= | string | PEM file with the CA certificates used to verify the peer’s certificate. | |||
tlscacertificatedir= | string | Directory of hashed CA certificates (as made by openssl rehash), an alternative to TLS CA Certificate File. | |||
tlscertificaterevocationlist= | string | PEM file with a certificate revocation list; certificates on it are refused. | |||
tlscertificate= | string | PEM file with the own certificate for certificate based TLS. | |||
tlskey= | string | PEM file with the private key of TLS Certificate. | |||
tlsallowedcn= | string | repeatable | Common 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the job. | ||
description= | string | Free text describing the job. | |||
type= | enum | Backup, Admin, Archive, Verify, Restore, Migrate, Copy, Consolidate | required | What the job does: Backup, Restore, Verify, Admin (runs only its scripts), Migrate, Copy, Consolidate (Always Incremental), or Archive. | |
protocol= | enum | Native, NDMP_BAREOS, NDMP, NDMP_NATIVE | Backup 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= | string | Format of NDMP backups (for example dump or tar, depending on the filer); Native for normal jobs. | |||
level= | enum | Full, Base, Incremental, Differential, Since, VirtualFull, Catalog, InitCatalog, VolumeToCatalog, DiskToCatalog, Data | Default level of the job: for backups Full, Incremental, Differential or VirtualFull; for verify jobs InitCatalog, Catalog, VolumeToCatalog, DiskToCatalog or Data. | ||
messages= | resource | from .msgs | required | Messages resource that decides where the job’s messages go (job log in the catalog, mail, log file). | |
storage= | resource | from .storages | repeatable | Storage the job writes to (or reads from). | |
pool= | resource | from .pools | required | Pool the job writes to. | |
fullbackuppool= | resource | from .pools | Pool used when the job runs at level Full, so Fulls can have their own retention. | ||
virtualfullbackuppool= | resource | from .pools | Pool a VirtualFull is written to. | ||
incrementalbackuppool= | resource | from .pools | Pool used for Incremental runs. | ||
differentialbackuppool= | resource | from .pools | Pool used for Differential runs. | ||
nextpool= | resource | from .pools | Pool that Copy, Migrate and VirtualFull jobs write to. | ||
client= | resource | from .clients | Client (File Daemon) the job backs up or, for restores, restores to by default. | ||
fileset= | resource | from .filesets | FileSet that says what is backed up. | ||
schedule= | resource | from .schedule | Schedule that starts the job automatically. | ||
jobtoverify= | resource | from .jobs | For verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). | ||
catalog= | resource | from .catalogs | Catalog for this job, overriding that of the client. | ||
jobdefs= | resource | from .jobdefs | JobDefs resource whose directives this job inherits. | ||
run= | string | repeatable | Starts 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= | string | For restore jobs: directory prefix the files are restored under. / restores to the original place. | |||
regexwhere= | string | For restore jobs: rewrites the paths of restored files with sed-like expressions (!from!to!), instead of a plain prefix. | |||
stripprefix= | string | For restore jobs: removes this prefix from the paths before restoring. | |||
addprefix= | string | For restore jobs: adds this prefix to the paths (like Where). | |||
addsuffix= | string | For restore jobs: adds this suffix to the restored file names, for example to keep existing files. | |||
bootstrap= | string | Bootstrap file a restore job reads to find the data on the volumes. | |||
writebootstrap= | string | File (or, starting with |, a command) the job writes its bootstrap to after a backup: which volumes and blocks hold this job. | |||
replace= | enum | Always, IfNewer, IfOlder, Never | For 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= | string | Limits the bandwidth of this job. | |||
maxrunschedtime= | string | Cancels the job if it has not finished this long after its scheduled time (waiting counts). | |||
maxruntime= | string | Cancels the job if it runs longer than this from its actual start. | |||
fullmaxruntime= | string | Max Run Time for Full runs only. | |||
incrementalmaxruntime= | string | Max Run Time for Incremental runs only. | |||
differentialmaxruntime= | string | Max Run Time for Differential runs only. | |||
maxwaittime= | string | Cancels the job if it waits longer than this for a resource (a volume, a device, a concurrency slot) after it started. | |||
maxstartdelay= | string | Cancels 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= | string | Upgrades an Incremental or Differential to Full when the last successful Full is older than this. | |||
maxvirtualfullinterval= | string | Upgrades a run to VirtualFull when the last VirtualFull (or Full) is older than this. | |||
maxdiffinterval= | string | Upgrades an Incremental to Differential when the last Differential is older than this. | |||
prefixlinks= | bool | yes, no | For restores with Where: also prefix the targets of absolute symbolic links, so they point into the restore directory. | ||
prunejobs= | bool | yes, no | Prune the job records of this job’s client after the job, as if the retention had been applied by prune jobs. | ||
prunefiles= | bool | yes, no | Prune the file records of this job’s client after the job. | ||
prunevolumes= | bool | yes, no | Prune the volumes of the pool after the job. | ||
purgemigrationjob= | bool | yes, no | After a successful migration, purge the migrated (source) job from the catalog. | ||
enabled= | bool | yes, no | A 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= | bool | yes, no | Spool the file attributes on the Storage Daemon and insert them into the catalog at the end of the job, instead of while writing. | ||
spooldata= | bool | yes, no | Spool the data to disk on the Storage Daemon first and write it to the volume in big chunks. | ||
spoolsize= | string | Upper limit of the spool file of this job. | |||
rerunfailedlevels= | bool | yes, no | If the last Full (or Differential) failed, run the next job at that level again instead of the scheduled lower level. | ||
prefermountedvolumes= | bool | yes, no | Prefer a drive that has a usable volume mounted. | ||
runbeforejob= | string | repeatable | Command the Director runs before the job; a failing command cancels the job. | ||
runafterjob= | string | repeatable | Command the Director runs after a successful job (RunScript, RunsWhen = After, RunsOnFailure = no). | ||
runafterfailedjob= | string | repeatable | Command the Director runs after a failed job. | ||
clientrunbeforejob= | string | repeatable | Command the File Daemon runs on the client before the backup, for example a database dump. | ||
clientrunafterjob= | string | repeatable | Command the File Daemon runs on the client after the job. | ||
maximumconcurrentjobs= | integer | How 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= | bool | yes, no | Start the job again when it failed, after Reschedule Interval, at most Reschedule Times times. | ||
rescheduleinterval= | string | Wait between a failed run and its retry. | |||
rescheduletimes= | integer | How many times a failed job is retried; 0 means without limit. | |||
priority= | integer | Priority of the job: smaller numbers first. | |||
allowmixedpriority= | bool | yes, no | Allow this job to run together with jobs of other priorities, as long as they allow it as well. | ||
selectionpattern= | string | For 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= | enum | SmallestVolume, OldestVolume, PoolOccupancy, PoolTime, PoolUncopiedJobs, Client, Volume, Job, SqlQuery | For Copy and Migrate jobs: how the source jobs are chosen: SmallestVolume, OldestVolume, Client, Volume, Job, SQLQuery, PoolOccupancy, PoolTime, PoolUncopiedJobs. | ||
accurate= | bool | yes, no | Accurate 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= | bool | yes, no | Allow a second run of the same job while one is queued or running. | ||
cancellowerlevelduplicates= | bool | yes, no | With Allow Duplicate Jobs = no: cancel the duplicate of the lower level (an Incremental gives way to a Full). | ||
cancelqueuedduplicates= | bool | yes, no | With Allow Duplicate Jobs = no: cancel a duplicate that is still waiting in the queue. | ||
cancelrunningduplicates= | bool | yes, no | With Allow Duplicate Jobs = no: cancel the duplicate that is already running in favour of the new one. | ||
savefilehistory= | bool | yes, no | For NDMP: store the file history sent by the filer, so single files can be restored. | ||
filehistorysize= | string | For NDMP: size of the file history buffer. | |||
fdpluginoptions= | string | repeatable | Options passed to the File Daemon plugins of this job. | ||
sdpluginoptions= | string | repeatable | Options passed to the Storage Daemon plugins of this job. | ||
dirpluginoptions= | string | repeatable | Options passed to the Director plugins of this job. | ||
maxconcurrentcopies= | integer | For Copy jobs: how many copy jobs are started at once from one selection. | |||
alwaysincremental= | bool | yes, no | Always Incremental scheme: only Incrementals are taken, and a Consolidate job merges the old ones into a VirtualFull. | ||
alwaysincrementaljobretention= | string | Incrementals younger than this are not consolidated. | |||
alwaysincrementalkeepnumber= | integer | How many Incrementals are always kept unconsolidated, even when they are older than the retention. | |||
alwaysincrementalmaxfullage= | string | When the Full of an Always Incremental chain is older than this, the Consolidate job includes it, so the Full does not grow old. | |||
maxfullconsolidations= | integer | How many Fulls a Consolidate job may consolidate in one run (because of Always Incremental Max Full Age); 0 means no limit. | |||
runonincomingconnectinterval= | string | For 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the job. | ||
description= | string | Free text describing the job. | |||
type= | enum | Backup, Admin, Archive, Verify, Restore, Migrate, Copy, Consolidate | required | What the job does: Backup, Restore, Verify, Admin (runs only its scripts), Migrate, Copy, Consolidate (Always Incremental), or Archive. | |
protocol= | enum | Native, NDMP_BAREOS, NDMP, NDMP_NATIVE | Backup 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= | string | Format of NDMP backups (for example dump or tar, depending on the filer); Native for normal jobs. | |||
level= | enum | Full, Base, Incremental, Differential, Since, VirtualFull, Catalog, InitCatalog, VolumeToCatalog, DiskToCatalog, Data | Default level of the job: for backups Full, Incremental, Differential or VirtualFull; for verify jobs InitCatalog, Catalog, VolumeToCatalog, DiskToCatalog or Data. | ||
messages= | resource | from .msgs | required | Messages resource that decides where the job’s messages go (job log in the catalog, mail, log file). | |
storage= | resource | from .storages | repeatable | Storage the job writes to (or reads from). | |
pool= | resource | from .pools | required | Pool the job writes to. | |
fullbackuppool= | resource | from .pools | Pool used when the job runs at level Full, so Fulls can have their own retention. | ||
virtualfullbackuppool= | resource | from .pools | Pool a VirtualFull is written to. | ||
incrementalbackuppool= | resource | from .pools | Pool used for Incremental runs. | ||
differentialbackuppool= | resource | from .pools | Pool used for Differential runs. | ||
nextpool= | resource | from .pools | Pool that Copy, Migrate and VirtualFull jobs write to. | ||
client= | resource | from .clients | Client (File Daemon) the job backs up or, for restores, restores to by default. | ||
fileset= | resource | from .filesets | FileSet that says what is backed up. | ||
schedule= | resource | from .schedule | Schedule that starts the job automatically. | ||
jobtoverify= | resource | from .jobs | For verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). | ||
catalog= | resource | from .catalogs | Catalog for this job, overriding that of the client. | ||
jobdefs= | resource | from .jobdefs | JobDefs resource whose directives this job inherits. | ||
run= | string | repeatable | Starts 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= | string | For restore jobs: directory prefix the files are restored under. / restores to the original place. | |||
regexwhere= | string | For restore jobs: rewrites the paths of restored files with sed-like expressions (!from!to!), instead of a plain prefix. | |||
stripprefix= | string | For restore jobs: removes this prefix from the paths before restoring. | |||
addprefix= | string | For restore jobs: adds this prefix to the paths (like Where). | |||
addsuffix= | string | For restore jobs: adds this suffix to the restored file names, for example to keep existing files. | |||
bootstrap= | string | Bootstrap file a restore job reads to find the data on the volumes. | |||
writebootstrap= | string | File (or, starting with |, a command) the job writes its bootstrap to after a backup: which volumes and blocks hold this job. | |||
replace= | enum | Always, IfNewer, IfOlder, Never | For 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= | string | Limits the bandwidth of this job. | |||
maxrunschedtime= | string | Cancels the job if it has not finished this long after its scheduled time (waiting counts). | |||
maxruntime= | string | Cancels the job if it runs longer than this from its actual start. | |||
fullmaxruntime= | string | Max Run Time for Full runs only. | |||
incrementalmaxruntime= | string | Max Run Time for Incremental runs only. | |||
differentialmaxruntime= | string | Max Run Time for Differential runs only. | |||
maxwaittime= | string | Cancels the job if it waits longer than this for a resource (a volume, a device, a concurrency slot) after it started. | |||
maxstartdelay= | string | Cancels 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= | string | Upgrades an Incremental or Differential to Full when the last successful Full is older than this. | |||
maxvirtualfullinterval= | string | Upgrades a run to VirtualFull when the last VirtualFull (or Full) is older than this. | |||
maxdiffinterval= | string | Upgrades an Incremental to Differential when the last Differential is older than this. | |||
prefixlinks= | bool | yes, no | For restores with Where: also prefix the targets of absolute symbolic links, so they point into the restore directory. | ||
prunejobs= | bool | yes, no | Prune the job records of this job’s client after the job, as if the retention had been applied by prune jobs. | ||
prunefiles= | bool | yes, no | Prune the file records of this job’s client after the job. | ||
prunevolumes= | bool | yes, no | Prune the volumes of the pool after the job. | ||
purgemigrationjob= | bool | yes, no | After a successful migration, purge the migrated (source) job from the catalog. | ||
enabled= | bool | yes, no | A 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= | bool | yes, no | Spool the file attributes on the Storage Daemon and insert them into the catalog at the end of the job, instead of while writing. | ||
spooldata= | bool | yes, no | Spool the data to disk on the Storage Daemon first and write it to the volume in big chunks. | ||
spoolsize= | string | Upper limit of the spool file of this job. | |||
rerunfailedlevels= | bool | yes, no | If the last Full (or Differential) failed, run the next job at that level again instead of the scheduled lower level. | ||
prefermountedvolumes= | bool | yes, no | Prefer a drive that has a usable volume mounted. | ||
runbeforejob= | string | repeatable | Command the Director runs before the job; a failing command cancels the job. | ||
runafterjob= | string | repeatable | Command the Director runs after a successful job (RunScript, RunsWhen = After, RunsOnFailure = no). | ||
runafterfailedjob= | string | repeatable | Command the Director runs after a failed job. | ||
clientrunbeforejob= | string | repeatable | Command the File Daemon runs on the client before the backup, for example a database dump. | ||
clientrunafterjob= | string | repeatable | Command the File Daemon runs on the client after the job. | ||
maximumconcurrentjobs= | integer | How 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= | bool | yes, no | Start the job again when it failed, after Reschedule Interval, at most Reschedule Times times. | ||
rescheduleinterval= | string | Wait between a failed run and its retry. | |||
rescheduletimes= | integer | How many times a failed job is retried; 0 means without limit. | |||
priority= | integer | Priority of the job: smaller numbers first. | |||
allowmixedpriority= | bool | yes, no | Allow this job to run together with jobs of other priorities, as long as they allow it as well. | ||
selectionpattern= | string | For 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= | enum | SmallestVolume, OldestVolume, PoolOccupancy, PoolTime, PoolUncopiedJobs, Client, Volume, Job, SqlQuery | For Copy and Migrate jobs: how the source jobs are chosen: SmallestVolume, OldestVolume, Client, Volume, Job, SQLQuery, PoolOccupancy, PoolTime, PoolUncopiedJobs. | ||
accurate= | bool | yes, no | Accurate 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= | bool | yes, no | Allow a second run of the same job while one is queued or running. | ||
cancellowerlevelduplicates= | bool | yes, no | With Allow Duplicate Jobs = no: cancel the duplicate of the lower level (an Incremental gives way to a Full). | ||
cancelqueuedduplicates= | bool | yes, no | With Allow Duplicate Jobs = no: cancel a duplicate that is still waiting in the queue. | ||
cancelrunningduplicates= | bool | yes, no | With Allow Duplicate Jobs = no: cancel the duplicate that is already running in favour of the new one. | ||
savefilehistory= | bool | yes, no | For NDMP: store the file history sent by the filer, so single files can be restored. | ||
filehistorysize= | string | For NDMP: size of the file history buffer. | |||
fdpluginoptions= | string | repeatable | Options passed to the File Daemon plugins of this job. | ||
sdpluginoptions= | string | repeatable | Options passed to the Storage Daemon plugins of this job. | ||
dirpluginoptions= | string | repeatable | Options passed to the Director plugins of this job. | ||
maxconcurrentcopies= | integer | For Copy jobs: how many copy jobs are started at once from one selection. | |||
alwaysincremental= | bool | yes, no | Always Incremental scheme: only Incrementals are taken, and a Consolidate job merges the old ones into a VirtualFull. | ||
alwaysincrementaljobretention= | string | Incrementals younger than this are not consolidated. | |||
alwaysincrementalkeepnumber= | integer | How many Incrementals are always kept unconsolidated, even when they are older than the retention. | |||
alwaysincrementalmaxfullage= | string | When the Full of an Always Incremental chain is older than this, the Consolidate job includes it, so the Full does not grow old. | |||
maxfullconsolidations= | integer | How many Fulls a Consolidate job may consolidate in one run (because of Always Incremental Max Full Age); 0 means no limit. | |||
runonincomingconnectinterval= | string | For 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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the Storage resource as jobs and pools refer to it. | ||
description= | string | Free text describing the storage. | |||
protocol= | enum | Native, NDMPV2, NDMPV3, NDMPV4 | Protocol to the storage: Native, or NDMP for NDMP tape servers. | ||
authtype= | enum | None, Clear, MD5 | Authentication for NDMP storage: None, Clear or MD5. | ||
address= | string | required | Host name or IP address of the Storage Daemon, as the File Daemons must reach it: the Director passes it on to the client. | ||
lanaddress= | string | Address used instead of Address for clients in passive mode on a separate LAN. | |||
port= | integer | TCP port of the Storage Daemon. | |||
username= | string | User name for NDMP authentication. | |||
password= | string | required | Password shared with the Storage Daemon’s Director resource (and TLS-PSK key). | ||
device= | string | required | Name of a Device (or Autochanger) resource in the Storage Daemon. | ||
mediatype= | string | required | Media type of the volumes this storage writes. | ||
autochanger= | bool | yes, no | The device is an autochanger (tape library); slots and barcodes are used for label, update slots and mount. | ||
enabled= | bool | yes, no | A disabled storage is not used for new jobs; enable/disable storage change it at run time. | ||
allowcompression= | bool | yes, no | Allow software compression by the File Daemon for jobs writing here. | ||
heartbeatinterval= | string | Interval of keep-alive packets to the Storage Daemon. 0 switches it off. | |||
cachestatusinterval= | string | How long the Director caches the status of the Storage Daemon. | |||
maximumconcurrentjobs= | integer | How many jobs may use this storage at the same time. | |||
maximumconcurrentreadjobs= | integer | How many of the concurrent jobs may read (restore, copy, migrate source); 0 means no own limit. | |||
pairedstorage= | resource | from .storages | For NDMP: the native storage that holds the data of an NDMP backup that Bareos stores itself. | ||
maximumbandwidthperjob= | string | Limits the bandwidth of each job on this storage. | |||
ndmpchangerdevice= | string | Changer device of an NDMP tape server. | |||
tlsauthenticate= | bool | yes, no | Use TLS only to authenticate the peer and switch back to an unencrypted connection afterwards. | ||
tlsenable= | bool | yes, no | Enable TLS for this connection. | ||
tlsrequire= | bool | yes, no | Refuse connections that do not use TLS. | ||
tlscipherlist= | string | OpenSSL cipher list for TLS 1.2 and older, colon separated. | |||
tlsciphersuites= | string | OpenSSL cipher suites for TLS 1.3, colon separated. | |||
tlsdhfile= | string | PEM file with Diffie-Hellman parameters for the DH key exchange of TLS 1.2. | |||
tlsprotocol= | string | Restricts the TLS protocol versions in OpenSSL syntax, for example to forbid old versions. | |||
tlsverifypeer= | bool | yes, no | With certificate based TLS: check the peer’s certificate against the CA and, for a server, against TLS Allowed CN. | ||
tlscacertificatefile= | string | PEM file with the CA certificates used to verify the peer’s certificate. | |||
tlscacertificatedir= | string | Directory of hashed CA certificates (as made by openssl rehash), an alternative to TLS CA Certificate File. | |||
tlscertificaterevocationlist= | string | PEM file with a certificate revocation list; certificates on it are refused. | |||
tlscertificate= | string | PEM file with the own certificate for certificate based TLS. | |||
tlskey= | string | PEM file with the private key of TLS Certificate. | |||
tlsallowedcn= | string | repeatable | Common 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the catalog; Client and Pool resources and the use command refer to it. | ||
description= | string | Free text describing the catalog. | |||
dbaddress= | string | Host of the PostgreSQL server; without it (and without DB Socket) the local socket is used. | |||
dbport= | integer | TCP port of the PostgreSQL server. | |||
dbpassword= | string | Password of the database user. | |||
dbuser= | string | required | Database user the Director connects as. | ||
dbname= | string | required | Name of the catalog database. | ||
dbsocket= | string | Directory of the PostgreSQL Unix socket, instead of a TCP connection. | |||
reconnect= | bool | yes, no | Reconnect automatically when the database connection breaks. | ||
exitonfatal= | bool | yes, no | Stop the Director on a fatal database error instead of carrying on. | ||
minconnections= | integer | Connections the connection pool opens at start. | |||
maxconnections= | integer | Upper limit of the connection pool. | |||
incconnections= | integer | How many connections the pool opens at once when it grows. | |||
idletimeout= | integer | Seconds after which an idle pooled connection is closed. | |||
validatetimeout= | integer | Seconds 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the schedule; jobs refer to it with Schedule. | ||
description= | string | Free text describing the schedule. | |||
run= | string | repeatable | When the jobs of this schedule run, one directive per rule: optional level and overrides, then the date and time specification. | ||
enabled= | bool | yes, no | A 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the FileSet. | ||
description= | string | Free text describing the FileSet. | |||
ignorefilesetchanges= | bool | yes, no | Normally a change of the FileSet makes the next Incremental or Differential a Full, since the old backups do not contain the new files. | ||
enablevss= | bool | yes, no | On 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the pool. | ||
description= | string | Free text describing the pool. | |||
pooltype= | enum | Backup, Copy, Cloned, Archive, Migration, Scratch | Kind of pool: Backup (the normal case), Copy, Cloned, Archive, Migration or Scratch. | ||
labelformat= | string | Template for the names of volumes the Director labels automatically. | |||
cleaningprefix= | string | Volumes whose name starts with this prefix are cleaning tapes and are never used for data. | |||
usecatalog= | bool | yes, no | Keep the volumes of this pool in the catalog; should stay yes. | ||
purgeoldestvolume= | bool | yes, no | When the pool needs a volume and none is free, purge the oldest volume regardless of its retention. | ||
actiononpurge= | enum | None, Truncate | What 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= | bool | yes, no | When a volume is needed, prune the oldest volume and reuse it if its retention allows. | ||
recyclecurrentvolume= | bool | yes, no | When a volume is needed, prune the current volume and reuse it if its retention allows. | ||
maximumvolumes= | integer | Upper limit of volumes in the pool; automatic labeling stops there. | |||
maximumvolumejobs= | integer | Number of jobs after which a volume is marked Used. | |||
maximumvolumefiles= | integer | Number of files after which a volume is marked Used. | |||
maximumvolumebytes= | string | Size after which a volume is marked Full. | |||
catalogfiles= | bool | yes, no | Store the file records of the jobs in this pool. | ||
volumeretention= | string | How long the jobs on a volume are kept after the volume was last written. | |||
volumeuseduration= | string | How long a volume is written to after its first write; then it is marked Used. | |||
migrationtime= | string | For Migrate jobs with Selection Type PoolTime: jobs older than this are migrated. | |||
migrationhighbytes= | string | For Selection Type PoolOccupancy: migration starts when the pool holds more than this. | |||
migrationlowbytes= | string | For Selection Type PoolOccupancy: migration stops when the pool is below this. | |||
nextpool= | resource | from .pools | Pool that Copy, Migrate and VirtualFull jobs write to when they read from this pool. | ||
storage= | resource | from .storages | repeatable | Storage the jobs writing to this pool use; it takes precedence over the Storage of the job. | |
autoprune= | bool | yes, no | Prune the volumes of this pool automatically when a volume is needed, according to Volume Retention. | ||
recycle= | bool | yes, no | Allow volumes of this pool to be reused once they are purged. | ||
recyclepool= | resource | from .pools | Pool a volume moves to when it is recycled, for example back to the Scratch pool. | ||
scratchpool= | resource | from .pools | Pool this pool takes new volumes from when it has none; default is the pool named Scratch. | ||
catalog= | resource | from .catalogs | Catalog of the pool, for installations with several catalogs. | ||
minimumblocksize= | string | Minimum block size for volumes of this pool, for tape drives with special needs. | |||
maximumblocksize= | string | Maximum 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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | Name of the Messages resource; Jobs, the Director and daemons refer to it. | |||
description= | string | Free text describing the resource. | |||
mailcommand= | string | Command that sends the mails of Mail, Mail On Error and Mail On Success. bsmtp is the usual choice. | |||
operatorcommand= | string | Command for Operator messages (for example mount requests); same variables as Mail Command. | |||
timestampformat= | string | strftime format of the time stamps of these messages. | |||
syslog= | string | repeatable | Send messages to the system log. | ||
mail= | string | repeatable | Mail the messages to the addresses before the second = (comma separated) when the job ends, as one mail per job. | ||
mailonerror= | string | repeatable | Like Mail, but the mail is only sent when the job did not terminate normally. | ||
mailonsuccess= | string | repeatable | Like Mail, but only for jobs that terminated normally. | ||
file= | string | repeatable | Write the messages to a file, which is overwritten when the Director starts. | ||
append= | string | repeatable | Append the messages to a file. | ||
stdout= | string | repeatable | Print the messages on standard output of the daemon (mostly for debugging in the foreground). | ||
stderr= | string | repeatable | Print the messages on standard error of the daemon. | ||
director= | string | repeatable | Send the messages of a File or Storage Daemon to the Director named before the second =; only used in the daemons’ own Messages resources. | ||
console= | string | repeatable | Keep the messages for the consoles: they appear with the messages command (and automatically with autodisplay on). | ||
operator= | string | repeatable | Send the messages to the operator addresses through Operator Command, at once rather than at the end of the job. | ||
catalog= | string | repeatable | Store 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the counter, used as a variable in Label Format (for example ${Weekly}). | ||
description= | string | Free text describing the counter. | |||
minimum= | integer | Value the counter starts with and returns to after Maximum. | |||
maximum= | integer | Highest value; then the counter wraps to Minimum (and increments Wrap Counter). | |||
wrapcounter= | string | Counter that is incremented whenever this one wraps, for nested numbering such as week within year. | |||
catalog= | resource | from .catalogs | Catalog 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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the profile; Console and User resources refer to it with Profile. | ||
description= | string | Free text describing what the profile is for. | |||
jobacl= | string | repeatable | Which jobs this profile may use. | ||
clientacl= | string | repeatable | Which clients this profile may use. | ||
storageacl= | string | repeatable | Which storages this profile may use. | ||
scheduleacl= | string | repeatable | Which schedules this profile may use. | ||
poolacl= | string | repeatable | Which pools this profile may use. | ||
commandacl= | string | repeatable | Which console commands this profile may use. | ||
filesetacl= | string | repeatable | Which FileSets this profile may use. | ||
catalogacl= | string | repeatable | Which catalogs this profile may use. | ||
whereacl= | string | repeatable | Which restore target paths (the where= of a restore) this profile may use. | ||
pluginoptionsacl= | string | repeatable | Which 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Console name. | ||
password= | string | required | Password. | ||
profile= | resource | from .profiles | required, repeatable, list | Profile; several profiles repeated or as a comma list. | |
description= | string | Description. |
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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
name= | string | required | Name of the user, as PAM authenticated it through a PAM console. | ||
description= | string | Free text describing the user. | |||
jobacl= | string | repeatable | Which jobs this user may use. | ||
clientacl= | string | repeatable | Which clients this user may use. | ||
storageacl= | string | repeatable | Which storages this user may use. | ||
scheduleacl= | string | repeatable | Which schedules this user may use. | ||
poolacl= | string | repeatable | Which pools this user may use. | ||
commandacl= | string | repeatable | Which console commands this user may use. | ||
filesetacl= | string | repeatable | Which FileSets this user may use. | ||
catalogacl= | string | repeatable | Which catalogs this user may use. | ||
whereacl= | string | repeatable | Which restore target paths (the where= of a restore) this user may use. | ||
pluginoptionsacl= | string | repeatable | Which plugin option strings a job may be started with this user may use. | ||
profile= | resource | from .profiles | repeatable | Profiles 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>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | required | Client 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>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | one of: what | Client name. | |
job= | resource | from .jobs | one of: what | Job name. | |
pool= | resource | from .pools | one of: what | Pool name. | |
storage= | resource | from .storages | one of: what | Storage 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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
yes | keyword | Do 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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | Resource name. | ||
description= | string | repeatable | Free text describing the client. An empty value removes the directive. | ||
protocol= | enum | Native, NDMPV2, NDMPV3, NDMPV4 | repeatable | Protocol 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= | enum | None, Clear, MD5 | repeatable | Authentication for NDMP clients: None, Clear or MD5. An empty value removes the directive. | |
address= | string | repeatable | Host name or IP address of the File Daemon. An empty value removes the directive. | ||
fdaddress= | string | repeatable | Host name or IP address of the File Daemon. An empty value removes the directive. | ||
lanaddress= | string | repeatable | Address 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= | string | repeatable | TCP port of the File Daemon. An empty value removes the directive. | ||
fdport= | string | repeatable | TCP port of the File Daemon. An empty value removes the directive. | ||
username= | string | repeatable | User name for NDMP authentication. An empty value removes the directive. | ||
password= | string | repeatable | Password shared with the File Daemon’s Director resource; with TLS-PSK it is also the TLS key. An empty value removes the directive. | ||
fdpassword= | string | repeatable | Password shared with the File Daemon’s Director resource; with TLS-PSK it is also the TLS key. An empty value removes the directive. | ||
catalog= | resource | from .catalogs | repeatable | Catalog the jobs of this client are stored in, for installations with several catalogs. An empty value removes the directive. | |
passive= | bool | yes, no | repeatable | Passive mode: the Storage Daemon connects to the File Daemon instead of the other way round. An empty value removes the directive. | |
connectionfromdirectortoclient= | bool | yes, no | repeatable | The Director opens the connection to the File Daemon (the normal case). An empty value removes the directive. | |
connectionfromclienttodirector= | bool | yes, no | repeatable | The 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= | bool | yes, no | repeatable | A 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= | string | repeatable | Upper 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= | string | repeatable | Soft 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= | string | repeatable | How long the soft quota may be exceeded before jobs fail. An empty value removes the directive. | ||
strictquotas= | bool | yes, no | repeatable | When 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= | bool | yes, no | repeatable | Count the data of failed jobs into the quota. An empty value removes the directive. | |
heartbeatinterval= | string | repeatable | Interval of keep-alive packets to the File Daemon. 0 switches it off. An empty value removes the directive. | ||
maximumconcurrentjobs= | string | repeatable | How many jobs may run on this client at the same time; further jobs wait. An empty value removes the directive. | ||
maximumbandwidthperjob= | string | repeatable | Limits the bandwidth of each job of this client. An empty value removes the directive. | ||
ndmploglevel= | string | repeatable | Detail of NDMP messages of this client, 0 to 9. An empty value removes the directive. | ||
ndmpblocksize= | string | repeatable | Block size of NDMP backups. An empty value removes the directive. | ||
ndmpuselmdb= | bool | yes, no | repeatable | Keep 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= | bool | yes, no | repeatable | Use TLS only to authenticate the peer and switch back to an unencrypted connection afterwards. An empty value removes the directive. | |
tlsenable= | bool | yes, no | repeatable | Enable TLS for this connection. An empty value removes the directive. | |
tlsrequire= | bool | yes, no | repeatable | Refuse connections that do not use TLS. An empty value removes the directive. | |
tlscipherlist= | string | repeatable | OpenSSL cipher list for TLS 1.2 and older, colon separated. An empty value removes the directive. | ||
tlsciphersuites= | string | repeatable | OpenSSL cipher suites for TLS 1.3, colon separated. An empty value removes the directive. | ||
tlsdhfile= | string | repeatable | PEM file with Diffie-Hellman parameters for the DH key exchange of TLS 1.2. An empty value removes the directive. | ||
tlsprotocol= | string | repeatable | Restricts the TLS protocol versions in OpenSSL syntax, for example to forbid old versions. An empty value removes the directive. | ||
tlsverifypeer= | bool | yes, no | repeatable | With 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= | string | repeatable | PEM file with the CA certificates used to verify the peer’s certificate. An empty value removes the directive. | ||
tlscacertificatedir= | string | repeatable | Directory of hashed CA certificates (as made by openssl rehash), an alternative to TLS CA Certificate File. An empty value removes the directive. | ||
tlscertificaterevocationlist= | string | repeatable | PEM file with a certificate revocation list; certificates on it are refused. An empty value removes the directive. | ||
tlscertificate= | string | repeatable | PEM file with the own certificate for certificate based TLS. An empty value removes the directive. | ||
tlskey= | string | repeatable | PEM file with the private key of TLS Certificate. An empty value removes the directive. | ||
tlsallowedcn= | string | repeatable | Common 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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
job= | resource | from .jobs | Resource name. | ||
description= | string | repeatable | Free text describing the job. An empty value removes the directive. | ||
type= | enum | Backup, Admin, Archive, Verify, Restore, Migrate, Copy, Consolidate | repeatable | What 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= | enum | Native, NDMP_BAREOS, NDMP, NDMP_NATIVE | repeatable | Backup 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= | string | repeatable | Format of NDMP backups (for example dump or tar, depending on the filer); Native for normal jobs. An empty value removes the directive. | ||
level= | enum | Full, Base, Incremental, Differential, Since, VirtualFull, Catalog, InitCatalog, VolumeToCatalog, DiskToCatalog, Data | repeatable | Default 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= | resource | from .msgs | repeatable | Messages resource that decides where the job’s messages go (job log in the catalog, mail, log file). An empty value removes the directive. | |
storage= | resource | from .storages | repeatable | Storage the job writes to (or reads from). An empty value removes the directive. | |
pool= | resource | from .pools | repeatable | Pool the job writes to. An empty value removes the directive. | |
fullbackuppool= | resource | from .pools | repeatable | Pool used when the job runs at level Full, so Fulls can have their own retention. An empty value removes the directive. | |
virtualfullbackuppool= | resource | from .pools | repeatable | Pool a VirtualFull is written to. An empty value removes the directive. | |
incrementalbackuppool= | resource | from .pools | repeatable | Pool used for Incremental runs. An empty value removes the directive. | |
differentialbackuppool= | resource | from .pools | repeatable | Pool used for Differential runs. An empty value removes the directive. | |
nextpool= | resource | from .pools | repeatable | Pool that Copy, Migrate and VirtualFull jobs write to. An empty value removes the directive. | |
client= | resource | from .clients | repeatable | Client (File Daemon) the job backs up or, for restores, restores to by default. An empty value removes the directive. | |
fileset= | resource | from .filesets | repeatable | FileSet that says what is backed up. An empty value removes the directive. | |
schedule= | resource | from .schedule | repeatable | Schedule that starts the job automatically. An empty value removes the directive. | |
jobtoverify= | resource | from .jobs | repeatable | For verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). An empty value removes the directive. | |
verifyjob= | resource | from .jobs | repeatable | For verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). An empty value removes the directive. | |
catalog= | resource | from .catalogs | repeatable | Catalog for this job, overriding that of the client. An empty value removes the directive. | |
jobdefs= | resource | from .jobdefs | repeatable | JobDefs resource whose directives this job inherits. An empty value removes the directive. | |
run= | string | repeatable | Starts 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= | string | repeatable | For restore jobs: directory prefix the files are restored under. / restores to the original place. An empty value removes the directive. | ||
regexwhere= | string | repeatable | For 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= | string | repeatable | For restore jobs: removes this prefix from the paths before restoring. An empty value removes the directive. | ||
addprefix= | string | repeatable | For restore jobs: adds this prefix to the paths (like Where). An empty value removes the directive. | ||
addsuffix= | string | repeatable | For restore jobs: adds this suffix to the restored file names, for example to keep existing files. An empty value removes the directive. | ||
bootstrap= | string | repeatable | Bootstrap file a restore job reads to find the data on the volumes. An empty value removes the directive. | ||
writebootstrap= | string | repeatable | File (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= | enum | Always, IfNewer, IfOlder, Never | repeatable | For 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= | string | repeatable | Limits the bandwidth of this job. An empty value removes the directive. | ||
maxrunschedtime= | string | repeatable | Cancels the job if it has not finished this long after its scheduled time (waiting counts). An empty value removes the directive. | ||
maxruntime= | string | repeatable | Cancels the job if it runs longer than this from its actual start. An empty value removes the directive. | ||
fullmaxruntime= | string | repeatable | Max Run Time for Full runs only. An empty value removes the directive. | ||
incrementalmaxruntime= | string | repeatable | Max Run Time for Incremental runs only. An empty value removes the directive. | ||
differentialmaxruntime= | string | repeatable | Max Run Time for Differential runs only. An empty value removes the directive. | ||
maxwaittime= | string | repeatable | Cancels 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= | string | repeatable | Cancels 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= | string | repeatable | Upgrades an Incremental or Differential to Full when the last successful Full is older than this. An empty value removes the directive. | ||
maxvirtualfullinterval= | string | repeatable | Upgrades a run to VirtualFull when the last VirtualFull (or Full) is older than this. An empty value removes the directive. | ||
maxdiffinterval= | string | repeatable | Upgrades an Incremental to Differential when the last Differential is older than this. An empty value removes the directive. | ||
prefixlinks= | bool | yes, no | repeatable | For 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= | bool | yes, no | repeatable | Prune 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= | bool | yes, no | repeatable | Prune the file records of this job’s client after the job. An empty value removes the directive. | |
prunevolumes= | bool | yes, no | repeatable | Prune the volumes of the pool after the job. An empty value removes the directive. | |
purgemigrationjob= | bool | yes, no | repeatable | After a successful migration, purge the migrated (source) job from the catalog. An empty value removes the directive. | |
enabled= | bool | yes, no | repeatable | A 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= | bool | yes, no | repeatable | Spool 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= | bool | yes, no | repeatable | Spool 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= | string | repeatable | Upper limit of the spool file of this job. An empty value removes the directive. | ||
rerunfailedlevels= | bool | yes, no | repeatable | If 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= | bool | yes, no | repeatable | Prefer a drive that has a usable volume mounted. An empty value removes the directive. | |
runbeforejob= | string | repeatable | Command the Director runs before the job; a failing command cancels the job. An empty value removes the directive. | ||
runafterjob= | string | repeatable | Command the Director runs after a successful job (RunScript, RunsWhen = After, RunsOnFailure = no). An empty value removes the directive. | ||
runafterfailedjob= | string | repeatable | Command the Director runs after a failed job. An empty value removes the directive. | ||
clientrunbeforejob= | string | repeatable | Command the File Daemon runs on the client before the backup, for example a database dump. An empty value removes the directive. | ||
clientrunafterjob= | string | repeatable | Command the File Daemon runs on the client after the job. An empty value removes the directive. | ||
maximumconcurrentjobs= | string | repeatable | How 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= | bool | yes, no | repeatable | Start the job again when it failed, after Reschedule Interval, at most Reschedule Times times. An empty value removes the directive. | |
rescheduleinterval= | string | repeatable | Wait between a failed run and its retry. An empty value removes the directive. | ||
rescheduletimes= | string | repeatable | How many times a failed job is retried; 0 means without limit. An empty value removes the directive. | ||
priority= | string | repeatable | Priority of the job: smaller numbers first. An empty value removes the directive. | ||
allowmixedpriority= | bool | yes, no | repeatable | Allow 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= | string | repeatable | For 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= | string | repeatable | Block 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= | enum | SmallestVolume, OldestVolume, PoolOccupancy, PoolTime, PoolUncopiedJobs, Client, Volume, Job, SqlQuery | repeatable | For 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= | bool | yes, no | repeatable | Accurate 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= | bool | yes, no | repeatable | Allow a second run of the same job while one is queued or running. An empty value removes the directive. | |
cancellowerlevelduplicates= | bool | yes, no | repeatable | With 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= | bool | yes, no | repeatable | With Allow Duplicate Jobs = no: cancel a duplicate that is still waiting in the queue. An empty value removes the directive. | |
cancelrunningduplicates= | bool | yes, no | repeatable | With Allow Duplicate Jobs = no: cancel the duplicate that is already running in favour of the new one. An empty value removes the directive. | |
savefilehistory= | bool | yes, no | repeatable | For NDMP: store the file history sent by the filer, so single files can be restored. An empty value removes the directive. | |
filehistorysize= | string | repeatable | For NDMP: size of the file history buffer. An empty value removes the directive. | ||
fdpluginoptions= | string | repeatable | Options passed to the File Daemon plugins of this job. An empty value removes the directive. | ||
sdpluginoptions= | string | repeatable | Options passed to the Storage Daemon plugins of this job. An empty value removes the directive. | ||
dirpluginoptions= | string | repeatable | Options passed to the Director plugins of this job. An empty value removes the directive. | ||
maxconcurrentcopies= | string | repeatable | For Copy jobs: how many copy jobs are started at once from one selection. An empty value removes the directive. | ||
alwaysincremental= | bool | yes, no | repeatable | Always Incremental scheme: only Incrementals are taken, and a Consolidate job merges the old ones into a VirtualFull. An empty value removes the directive. | |
alwaysincrementaljobretention= | string | repeatable | Incrementals younger than this are not consolidated. An empty value removes the directive. | ||
alwaysincrementalkeepnumber= | string | repeatable | How many Incrementals are always kept unconsolidated, even when they are older than the retention. An empty value removes the directive. | ||
alwaysincrementalmaxfullage= | string | repeatable | When 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= | string | repeatable | How 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= | string | repeatable | For 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= | resource | from .clients | repeatable | Directive (empty value removes it). | |
newfileset= | resource | from .filesets | repeatable | Directive (empty value removes it). | |
newpool= | resource | from .pools | repeatable | Directive (empty value removes it). | |
newstorage= | resource | from .storages | repeatable | Directive (empty value removes it). | |
newschedule= | resource | from .schedule | repeatable | Directive (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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobdefs= | resource | from .jobdefs | Resource name. | ||
description= | string | repeatable | Free text describing the job. An empty value removes the directive. | ||
type= | enum | Backup, Admin, Archive, Verify, Restore, Migrate, Copy, Consolidate | repeatable | What 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= | enum | Native, NDMP_BAREOS, NDMP, NDMP_NATIVE | repeatable | Backup 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= | string | repeatable | Format of NDMP backups (for example dump or tar, depending on the filer); Native for normal jobs. An empty value removes the directive. | ||
level= | enum | Full, Base, Incremental, Differential, Since, VirtualFull, Catalog, InitCatalog, VolumeToCatalog, DiskToCatalog, Data | repeatable | Default 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= | resource | from .msgs | repeatable | Messages resource that decides where the job’s messages go (job log in the catalog, mail, log file). An empty value removes the directive. | |
storage= | resource | from .storages | repeatable | Storage the job writes to (or reads from). An empty value removes the directive. | |
pool= | resource | from .pools | repeatable | Pool the job writes to. An empty value removes the directive. | |
fullbackuppool= | resource | from .pools | repeatable | Pool used when the job runs at level Full, so Fulls can have their own retention. An empty value removes the directive. | |
virtualfullbackuppool= | resource | from .pools | repeatable | Pool a VirtualFull is written to. An empty value removes the directive. | |
incrementalbackuppool= | resource | from .pools | repeatable | Pool used for Incremental runs. An empty value removes the directive. | |
differentialbackuppool= | resource | from .pools | repeatable | Pool used for Differential runs. An empty value removes the directive. | |
nextpool= | resource | from .pools | repeatable | Pool that Copy, Migrate and VirtualFull jobs write to. An empty value removes the directive. | |
client= | resource | from .clients | repeatable | Client (File Daemon) the job backs up or, for restores, restores to by default. An empty value removes the directive. | |
fileset= | resource | from .filesets | repeatable | FileSet that says what is backed up. An empty value removes the directive. | |
schedule= | resource | from .schedule | repeatable | Schedule that starts the job automatically. An empty value removes the directive. | |
jobtoverify= | resource | from .jobs | repeatable | For verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). An empty value removes the directive. | |
verifyjob= | resource | from .jobs | repeatable | For verify jobs: the backup job whose last run is verified (levels Catalog, VolumeToCatalog, Data). An empty value removes the directive. | |
catalog= | resource | from .catalogs | repeatable | Catalog for this job, overriding that of the client. An empty value removes the directive. | |
jobdefs= | resource | from .jobdefs | repeatable | JobDefs resource whose directives this job inherits. An empty value removes the directive. | |
run= | string | repeatable | Starts 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= | string | repeatable | For restore jobs: directory prefix the files are restored under. / restores to the original place. An empty value removes the directive. | ||
regexwhere= | string | repeatable | For 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= | string | repeatable | For restore jobs: removes this prefix from the paths before restoring. An empty value removes the directive. | ||
addprefix= | string | repeatable | For restore jobs: adds this prefix to the paths (like Where). An empty value removes the directive. | ||
addsuffix= | string | repeatable | For restore jobs: adds this suffix to the restored file names, for example to keep existing files. An empty value removes the directive. | ||
bootstrap= | string | repeatable | Bootstrap file a restore job reads to find the data on the volumes. An empty value removes the directive. | ||
writebootstrap= | string | repeatable | File (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= | enum | Always, IfNewer, IfOlder, Never | repeatable | For 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= | string | repeatable | Limits the bandwidth of this job. An empty value removes the directive. | ||
maxrunschedtime= | string | repeatable | Cancels the job if it has not finished this long after its scheduled time (waiting counts). An empty value removes the directive. | ||
maxruntime= | string | repeatable | Cancels the job if it runs longer than this from its actual start. An empty value removes the directive. | ||
fullmaxruntime= | string | repeatable | Max Run Time for Full runs only. An empty value removes the directive. | ||
incrementalmaxruntime= | string | repeatable | Max Run Time for Incremental runs only. An empty value removes the directive. | ||
differentialmaxruntime= | string | repeatable | Max Run Time for Differential runs only. An empty value removes the directive. | ||
maxwaittime= | string | repeatable | Cancels 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= | string | repeatable | Cancels 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= | string | repeatable | Upgrades an Incremental or Differential to Full when the last successful Full is older than this. An empty value removes the directive. | ||
maxvirtualfullinterval= | string | repeatable | Upgrades a run to VirtualFull when the last VirtualFull (or Full) is older than this. An empty value removes the directive. | ||
maxdiffinterval= | string | repeatable | Upgrades an Incremental to Differential when the last Differential is older than this. An empty value removes the directive. | ||
prefixlinks= | bool | yes, no | repeatable | For 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= | bool | yes, no | repeatable | Prune 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= | bool | yes, no | repeatable | Prune the file records of this job’s client after the job. An empty value removes the directive. | |
prunevolumes= | bool | yes, no | repeatable | Prune the volumes of the pool after the job. An empty value removes the directive. | |
purgemigrationjob= | bool | yes, no | repeatable | After a successful migration, purge the migrated (source) job from the catalog. An empty value removes the directive. | |
enabled= | bool | yes, no | repeatable | A 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= | bool | yes, no | repeatable | Spool 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= | bool | yes, no | repeatable | Spool 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= | string | repeatable | Upper limit of the spool file of this job. An empty value removes the directive. | ||
rerunfailedlevels= | bool | yes, no | repeatable | If 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= | bool | yes, no | repeatable | Prefer a drive that has a usable volume mounted. An empty value removes the directive. | |
runbeforejob= | string | repeatable | Command the Director runs before the job; a failing command cancels the job. An empty value removes the directive. | ||
runafterjob= | string | repeatable | Command the Director runs after a successful job (RunScript, RunsWhen = After, RunsOnFailure = no). An empty value removes the directive. | ||
runafterfailedjob= | string | repeatable | Command the Director runs after a failed job. An empty value removes the directive. | ||
clientrunbeforejob= | string | repeatable | Command the File Daemon runs on the client before the backup, for example a database dump. An empty value removes the directive. | ||
clientrunafterjob= | string | repeatable | Command the File Daemon runs on the client after the job. An empty value removes the directive. | ||
maximumconcurrentjobs= | string | repeatable | How 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= | bool | yes, no | repeatable | Start the job again when it failed, after Reschedule Interval, at most Reschedule Times times. An empty value removes the directive. | |
rescheduleinterval= | string | repeatable | Wait between a failed run and its retry. An empty value removes the directive. | ||
rescheduletimes= | string | repeatable | How many times a failed job is retried; 0 means without limit. An empty value removes the directive. | ||
priority= | string | repeatable | Priority of the job: smaller numbers first. An empty value removes the directive. | ||
allowmixedpriority= | bool | yes, no | repeatable | Allow 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= | string | repeatable | For 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= | string | repeatable | Block 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= | enum | SmallestVolume, OldestVolume, PoolOccupancy, PoolTime, PoolUncopiedJobs, Client, Volume, Job, SqlQuery | repeatable | For 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= | bool | yes, no | repeatable | Accurate 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= | bool | yes, no | repeatable | Allow a second run of the same job while one is queued or running. An empty value removes the directive. | |
cancellowerlevelduplicates= | bool | yes, no | repeatable | With 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= | bool | yes, no | repeatable | With Allow Duplicate Jobs = no: cancel a duplicate that is still waiting in the queue. An empty value removes the directive. | |
cancelrunningduplicates= | bool | yes, no | repeatable | With Allow Duplicate Jobs = no: cancel the duplicate that is already running in favour of the new one. An empty value removes the directive. | |
savefilehistory= | bool | yes, no | repeatable | For NDMP: store the file history sent by the filer, so single files can be restored. An empty value removes the directive. | |
filehistorysize= | string | repeatable | For NDMP: size of the file history buffer. An empty value removes the directive. | ||
fdpluginoptions= | string | repeatable | Options passed to the File Daemon plugins of this job. An empty value removes the directive. | ||
sdpluginoptions= | string | repeatable | Options passed to the Storage Daemon plugins of this job. An empty value removes the directive. | ||
dirpluginoptions= | string | repeatable | Options passed to the Director plugins of this job. An empty value removes the directive. | ||
maxconcurrentcopies= | string | repeatable | For Copy jobs: how many copy jobs are started at once from one selection. An empty value removes the directive. | ||
alwaysincremental= | bool | yes, no | repeatable | Always Incremental scheme: only Incrementals are taken, and a Consolidate job merges the old ones into a VirtualFull. An empty value removes the directive. | |
alwaysincrementaljobretention= | string | repeatable | Incrementals younger than this are not consolidated. An empty value removes the directive. | ||
alwaysincrementalkeepnumber= | string | repeatable | How many Incrementals are always kept unconsolidated, even when they are older than the retention. An empty value removes the directive. | ||
alwaysincrementalmaxfullage= | string | repeatable | When 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= | string | repeatable | How 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= | string | repeatable | For 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= | resource | from .clients | repeatable | Directive (empty value removes it). | |
newfileset= | resource | from .filesets | repeatable | Directive (empty value removes it). | |
newpool= | resource | from .pools | repeatable | Directive (empty value removes it). | |
newstorage= | resource | from .storages | repeatable | Directive (empty value removes it). | |
newschedule= | resource | from .schedule | repeatable | Directive (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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
schedule= | resource | from .schedule | Resource name. | ||
description= | string | repeatable | Free text describing the schedule. An empty value removes the directive. | ||
run= | string | repeatable | When 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= | bool | yes, no | repeatable | A 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> ...]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
fileset= | resource | from .filesets | Resource name. | ||
description= | string | repeatable | Free text describing the FileSet. An empty value removes the directive. | ||
include= | string | repeatable | Block with the files to back up (File, Plugin) and Options blocks that say how. An empty value removes the directive. | ||
exclude= | string | repeatable | Block with files and directories to leave out (File lines). An empty value removes the directive. | ||
ignorefilesetchanges= | bool | yes, no | repeatable | Normally 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= | bool | yes, no | repeatable | On 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>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | Resource name. |
configure delete job
Delete a job.
configure delete job=<job>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
job= | resource | from .jobs | Resource name. |
configure delete jobdefs
Delete a jobdefs.
configure delete jobdefs=<jobdefs>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobdefs= | resource | from .jobdefs | Resource name. |
configure delete schedule
Delete a schedule.
configure delete schedule=<schedule>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
schedule= | resource | from .schedule | Resource name. |
configure delete fileset
Delete a fileset.
configure delete fileset=<fileset>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
fileset= | resource | from .filesets | Resource 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