User Tools

Site Tools


bacula_manual:resource_directive_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bacula_manual:resource_directive_format [2010/02/08 15:38]
baylink created
bacula_manual:resource_directive_format [2010/02/08 15:42] (current)
baylink
Line 5: Line 5:
 Each resource definition MUST contain a Name directive, and may optionally contain a Description directive. The Name directive is used to uniquely identify the resource. The Description directive is (will be) used during display of the Resource to provide easier human recognition. For example: Each resource definition MUST contain a Name directive, and may optionally contain a Description directive. The Name directive is used to uniquely identify the resource. The Description directive is (will be) used during display of the Resource to provide easier human recognition. For example:
  
 +<​code>​
 Director { Director {
   Name = "​MyDir"​   Name = "​MyDir"​
Line 10: Line 11:
   WorkingDirectory = "​$HOME/​bacula/​bin/​working"​   WorkingDirectory = "​$HOME/​bacula/​bin/​working"​
 } }
 +</​code>​
  
 Defines the Director resource with the name "​MyDir"​ and a working directory $HOME/​bacula/​bin/​working. ​ In this case, $HOME will be relative to the environment from which the director starts; if that's cron or an initscript, you may need to manually supply it. Defines the Director resource with the name "​MyDir"​ and a working directory $HOME/​bacula/​bin/​working. ​ In this case, $HOME will be relative to the environment from which the director starts; if that's cron or an initscript, you may need to manually supply it.
bacula_manual/resource_directive_format.1265643496.txt.gz ยท Last modified: 2010/02/08 15:38 by baylink