Line 7:
Line 7:
Copyright (C) 2004-2012 by Michael Weinberger<br>
Copyright (C) 2004-2012 by Michael Weinberger<br>
=== Version ===
=== Version ===
−
{{ #smeversion: smeserver-affa}}
+
{{#smeversion: smeserver-affa}}
=== Description ===
=== Description ===
Line 63:
Line 63:
* Log files are rotated weekly, with 5 logs kept
* Log files are rotated weekly, with 5 logs kept
−
<div style="text-align:left" class="mw-collapsible mw-collapsed" data-collapsetext="less ↑" data-expandtext="Obsolete Affa 2 instructions ↓">
+
<div class="mw-collapsible mw-collapsed" style="text-align:left" data-expandtext="Obsolete Affa 2 instructions ↓" data-collapsetext="less ↑">
=== Installation or Update of Affa 2 ===
=== Installation or Update of Affa 2 ===
Line 109:
Line 109:
Set up a second SME 7 box as your backupserver with hostname 'affabox‘ and IP 10.200.48.2.
Set up a second SME 7 box as your backupserver with hostname 'affabox‘ and IP 10.200.48.2.
−
<ol></li><li>log into the 'affabox' and install the packages as described above.
+
<ol><li>log into the 'affabox' and install the packages as described above.
</li><li>copy the config helper script sample
</li><li>copy the config helper script sample
cp /usr/lib/affa/jobconfig-sample.pl /root/prodbox-job.pl
cp /usr/lib/affa/jobconfig-sample.pl /root/prodbox-job.pl
Line 115:
Line 115:
my $jobname='prodbox';
my $jobname='prodbox';
and
and
−
'remoteHostName‘=>'10.200.48.1',
+
+
'remoteHostName‘=>'10.200.48.1',
+
optionally, if the remote server port is configured to e.g. 2222 then set
optionally, if the remote server port is configured to e.g. 2222 then set
−
'sshPort'=>2222,
+
+
'sshPort'=>2222,
</li><li>save and run the 'prodbox-job.pl' file. This will write the configuration (this makes the database entries and sets up the cronjobs)
</li><li>save and run the 'prodbox-job.pl' file. This will write the configuration (this makes the database entries and sets up the cronjobs)
/root/prodbox-job.pl
/root/prodbox-job.pl
Line 187:
Line 190:
yum install smeserver-affa --enablerepo=smecontribs
yum install smeserver-affa --enablerepo=smecontribs
−
<headertabs/>
+
<headertabs />
The server again need to be updated.
The server again need to be updated.
Line 197:
Line 200:
mkdir /var/affa
mkdir /var/affa
−
{{Warning box| Note that on SME9, a new SSH [https://wiki.contribs.org/AutoBlock AutoBlock] feature interferes with the Affa requirement for regular SSH logins! You might have to disable this feature to allow Affa to operate correctly. }}
+
{{Warning box| Note that on SME9 machines that are the target of the backup, a new SSH [https://wiki.contribs.org/AutoBlock AutoBlock] feature interferes with the Affa requirement for regular SSH logins! You might have to disable this feature to allow Affa to operate correctly. }}
=== Creation of backup jobs ===
=== Creation of backup jobs ===
Line 279:
Line 282:
</ul>
</ul>
Consequently the list below should reproduce the list for the unforked Affa 3 version, plus adding the properties above. For details refer to [https://www.guedel.eu/index.php/informatique/sme-server-8/affa-v3 Arnaud's website].
Consequently the list below should reproduce the list for the unforked Affa 3 version, plus adding the properties above. For details refer to [https://www.guedel.eu/index.php/informatique/sme-server-8/affa-v3 Arnaud's website].
−
{| border="1" cellpadding="3" cellspacing=0
+
{| border="1" cellspacing="0" cellpadding="3"
|-
|-
| '''Property''' || '''Value''' || '''Multivalue''' || '''Default''' || '''Description'''
| '''Property''' || '''Value''' || '''Multivalue''' || '''Default''' || '''Description'''