Changes

Jump to navigation Jump to search
6 bytes added ,  15:47, 16 May 2007
m
no edit summary
Line 73: Line 73:  
=== Configuration ===
 
=== Configuration ===
 
The configuration is stored in an e-smith style database. Use the db command to configure Affa.
 
The configuration is stored in an e-smith style database. Use the db command to configure Affa.
The jobname is the record key with the type 'job'.<br>To setup a new job enter:
+
The jobname is the record key with the type 'job'.<br>To setup a new job with the name 'prodbox' enter:
<br><code># db affa set myprodsrv job</code><br>
+
<br><code># db affa set prodbox job</code><br>
 
then set the properties<br>
 
then set the properties<br>
<code># db affa setprop myprodsrv remoteHostName 192.168.1.1</code><br>
+
<code># db affa setprop prodbox remoteHostName 192.168.1.1</code><br>
<code># db affa setprop myprodsrv TimeSchedule '0030,0730,1130,1330,1730,2030'</code><br>
+
<code># db affa setprop prodbox TimeSchedule '0030,0730,1130,1330,1730,2030'</code><br>
<code># db affa setprop myprodsrv Description 'My Production Server'</code><br>
+
<code># db affa setprop prodbox Description 'My Production Server'</code><br>
<code># db affa setprop myprodsrv status enable</code><br>
+
<code># db affa setprop prodbox status enable</code><br>
 
and so on...
 
and so on...
   Line 85: Line 85:     
To verify your work, type:<br>
 
To verify your work, type:<br>
<code># db affa show myprodsrv</code>
+
<code># db affa show prodbox</code>
      Line 378: Line 378:     
Example:<br>
 
Example:<br>
You have backuped your production server 'prodsrv' as job 'myprodsrv'. To restore from the latest backup run<br><code># affa --full-restore myprodsrv</code>
+
You have backuped your production server 'prodsrv' as job 'prodbox'. To restore from the latest backup run<br><code># affa --full-restore prodbox</code>
   −
To restore from the older archive daily.2 run<br><code># affa --full-restore myprodsrv daily.2</code><br>
+
To restore from the older archive daily.2 run<br><code># affa --full-restore prodbox daily.2</code><br>
    
'''Important note:''' A full restore reconstruct the server as it was at the time of the backup. That means, files created or server configuration changes after the backup run will be lost. After the restore is done, the restored server reboots automatically.
 
'''Important note:''' A full restore reconstruct the server as it was at the time of the backup. That means, files created or server configuration changes after the backup run will be lost. After the restore is done, the restored server reboots automatically.
501

edits

Navigation menu