Changes

Jump to navigation Jump to search
146 bytes removed ,  13:01, 26 October 2014
Further rework to move instructions towards Affa 3.
Line 263: Line 263:  
'''Note 1:''' The default values shown in this table are the Affa program defaults and not to be confused with the preset values in the job configuration files, e.g. backup-smeserver.conf.
 
'''Note 1:''' The default values shown in this table are the Affa program defaults and not to be confused with the preset values in the job configuration files, e.g. backup-smeserver.conf.
   −
'''Note 2:''' Affa 3 for SME is a fork of [http://affa.sourceforge.net/ Affa 3 for CentOS]. It adds a few options back again which have been removed. Generally the configuration properties as described [http://wiki.nikoforge.org/Affa_Configuration/ here] do apply. stephdl added the following functions:
+
'''Note 2:''' Affa 3 for SME is a fork of [http://affa.sourceforge.net/ Affa 3 for CentOS]. It adds a few options back again which have been removed. Generally the configuration properties as described [http://wiki.nikoforge.org/Affa_Configuration/ here] do apply. stephdl added the following functions for SME:
 
<ul>
 
<ul>
 
<li>The parameter “SMEServer”</li>
 
<li>The parameter “SMEServer”</li>
Line 394: Line 394:  
| cygwin || || with remoteOS=cygwin the options --send-key and --revoke-key uses the account 'Administrator' and the correct path for the public key on a Windows/Cygwin remote host.   
 
| cygwin || || with remoteOS=cygwin the options --send-key and --revoke-key uses the account 'Administrator' and the correct path for the public key on a Windows/Cygwin remote host.   
 
|-  
 
|-  
| ESXi
  −
| yes ''or'' no || no || enable VMware ESXi virtual machine backup mode<br>See [[Backup of ESXi Virtual Machines using Affa]]
  −
|-
  −
| ESXiVMName
  −
| string || || The name of the VM as displayed in the VI Client
  −
|-
  −
| ESXiUsername
  −
| string || || The name of the VI client with permission to created an delete snapshots
  −
|-
  −
| ESXiPassword
  −
| string || || The password of the user ESXiUsername
  −
|-
   
| chunkFiles
 
| chunkFiles
 
| string || || Filenames that Affa should chunk and compress. Multiple file names are to be separated by the slash (/) character, e.g. 'mysql.dump/pgsql.dump' chunks the two files mysql.dump and pgsql.dump. With ESXi=yes it is implicitly set to '*.vmdk'. See also command line options --chunk-archive and --unchunk-archive
 
| string || || Filenames that Affa should chunk and compress. Multiple file names are to be separated by the slash (/) character, e.g. 'mysql.dump/pgsql.dump' chunks the two files mysql.dump and pgsql.dump. With ESXi=yes it is implicitly set to '*.vmdk'. See also command line options --chunk-archive and --unchunk-archive
Line 411: Line 399:     
==== Default configuration properties ====
 
==== Default configuration properties ====
All properties can be set as defaults in the DefaultAffaConfig record. This is useful, when you set up many similar jobs.  
+
All properties can be set as defaults in a configuration file in the [GlobalAffaConfig] section. This is useful, when you set up many similar jobs.  
   −
Example: You want to set the property 'localNice' to 19 for all jobs. Then run
+
Example: You want to set the property 'localNice' to 19 for all jobs. Then add the following section in one of your configuration files:
  db affa setprop DefaultAffaConfig localNice 19
+
[GlobalAffaConfig]
and don't set this property for the jobs.
+
  localNice=19
Properties set in the job record overrides the defaults.
+
Consequently you don't need to set this property for your indiviual jobs. Properties set in the job record override the defaults.
   −
The special property 'sendStatus' is only applicable to the DefaultAffaConfig record. It controls the status report sent by email and can be set to the values 'none', 'daily', 'weekly' or 'monthly'.  
+
The special properties 'sendStatus' and 'globalStatus' are only applicable to the GlobalAffaConfig section. 'sendStatus' controls the status report sent by email and can be set to the values 'never', 'daily', 'weekly' or 'monthly'.  
   −
To setup a weekly status report run:
+
==== Global enable / disable ====
  db affa setprop DefaultAffaConfig sendStatus weekly
+
All jobs can be disabled for execution through 'cronjobs" with setting 'globalStatus' to 'disabled'.
then setup the cronjob:
+
  [GlobalAffaConfig]
  affa --make-cronjobs
+
  globalStatus=disabled
   −
==== Global disable ====
+
To re-enable run, either delete the above configuration line, or set to:
All jobs can be disabled with setting the AffaGlobalDisable record type to 'yes'.
+
  globalStatus=jobs
  db affa set AffaGlobalDisable yes
+
which is the default value.
affa --make-cronjobs
     −
to re-enable run:
+
You can also set the value to
  db affa set AffaGlobalDisable no
+
  globalStatus=enabled
affa --make-cronjobs
+
which enforces the the job execution through 'cronjobs' and overrides the specified values in the section for the specific job.
    
=== Usage and command line options ===
 
=== Usage and command line options ===
28

edits

Navigation menu