Changes

From SME Server
Jump to navigationJump to search
Line 34: Line 34:       −
{{Note box|During the transition from SME7 to SME8, contrib packages will be migrated to the SME8 contrib repository. If the contrib is not yet in the SME8 Contrib repository and an entry in the Q&A suggests it will install properly then you will need to install the contrib from the SME7 repository See: http://wiki.contribs.org/SME8.0_Contribs_QA#Setup.
     −
During the transition from SME8 to SME9, contrib packages will be migrated to the SME9 contrib repository. If the contrib is not yet in the SME9 Contrib repository and an entry in the Q&A suggests it will install properly then you will need to install the contrib from the SME8 repository See: http://wiki.contribs.org/SME9.0_Contribs_QA#Setup.}}
+
 
 +
{{Note box|During the transition from SME8 to SME9, contrib packages will be migrated to the SME9 contrib repository. If the contrib is not yet in the SME9 Contrib repository and an entry in the Q&A suggests it will install properly then you will need to install the contrib from the SME8 repository See: http://wiki.contribs.org/SME9.0_Contribs_QA#Setup.}}
 +
 
 +
<div style="text-align:left" class="mw-collapsible mw-collapsed" data-collapsetext="less &uarr;" data-expandtext="Obsolete Affa 2 instructions &darr;">
 +
 
 +
{{Note box|During the transition from SME7 to SME8, contrib packages will be migrated to the SME8 contrib repository. If the contrib is not yet in the SME8 Contrib repository and an entry in the Q&A suggests it will install properly then you will need to install the contrib from the SME7 repository See: http://wiki.contribs.org/SME8.0_Contribs_QA#Setup.}}
    
Configure Affa<br>
 
Configure Affa<br>
Line 44: Line 48:  
  db affa setprop prodserv RPMCheck yes
 
  db affa setprop prodserv RPMCheck yes
 
  affa --make-cronjobs
 
  affa --make-cronjobs
 +
 +
</div>
 +
 +
You have a SME production server with hostname 'prodserv‘ and IP 192.168.0.2.<br>
 +
You have a second SME box as your backup server with hostname 'affabox‘ and IP 192.168.0.10.
 +
 +
Login to your 'affabox' as root and edit ''/etc/affa/prodserv.conf'' . Using e.g. editor ''nano'', create the following example job configuration file for jobname ''prodserv'' :
 +
[prodserv]
 +
remoteHostName=192.168.0.2
 +
SMEServer=yes
 +
Watchdog=yes
 +
RPMCheck=yes
 +
ConnectionCheckTimeout=120
 +
Debug=no
 +
Description=Backup of 192.168.0.2 smeserver.athome.xx
 +
DiskSpaceWarn=strict
 +
RootDir=/var/affa
 +
TimeSchedule=0630
 +
localNice=15
 +
remoteNice=15
 +
rsync--inplace=yes
 +
rsyncCompress=no
 +
rsyncTimeout=900
 +
scheduledKeep=1
 +
dailyKeep=7
 +
weeklyKeep=4
 +
monthlyKeep=12
 +
yearlyKeep=1
 +
status=enabled
 +
Then save your job configuration file.
 +
 +
Now check that your configuration is OK:
 +
affa --configcheck
    
N.B. If you have set the SSH port different from default, you must also tell Affa of the port number (represented below by xxxx ) with
 
N.B. If you have set the SSH port different from default, you must also tell Affa of the port number (represented below by xxxx ) with
103

edits

Navigation menu