Changes

Jump to navigation Jump to search
Line 50: Line 50:  
{{Note box|type=Note :|durant la transition entre SME8 et SME9, les paquets des contributions seront déplacés dans le dépôt des contributions de SME9. Si la contribution n'est pas encore dans le dépôt des contributions de SME9 et une entrée dans les questions/réponses suggère que ce sera installé proprement, il faudra installer la contribution à partir du dépôt de SME8. Voir : http://wiki.contribs.org/SME9.0_Contribs_QA#Setup.}}
 
{{Note box|type=Note :|durant la transition entre SME8 et SME9, les paquets des contributions seront déplacés dans le dépôt des contributions de SME9. Si la contribution n'est pas encore dans le dépôt des contributions de SME9 et une entrée dans les questions/réponses suggère que ce sera installé proprement, il faudra installer la contribution à partir du dépôt de SME8. Voir : 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;">
+
Traduction en cours....
   −
<br>
+
In this example you have an SME production server (<code>prodIP</code>) with IP 192.168.0.2.<br>
 +
You have a second SME box as your backup server (<code>newIP</code>) with IP 192.168.0.10.<br>
 +
The affa backup job will be called 'prodserv'.<br><br>
   −
{{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.}}
+
Login to your <code>newIP</code> as root and edit/create the file ''/etc/affa/prodserv.conf'' . Using e.g. editor ''nano'', add the following example job configuration text 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=disabled
 +
Then save your job configuration file.
 +
 
 +
Now check that your configuration is OK:
 +
affa --configcheck
 +
This should throw out no errors.<br>
 +
 
 +
Generate DSA keys and send the public key to the <code>prodIP</code> server<br>
 +
affa --send-key prodserv
 +
 
 +
The answer from ProdIP server will be<br>
 +
Job prodserv: root@ProdIP's password:
 +
enter the root ProdIP password. The answer will be:<br>
 +
Public key sent to prodIP
3,054

edits

Navigation menu