Changes

Jump to navigation Jump to search
377 bytes added ,  17:43, 23 April 2007
Line 199: Line 199:     
===== Setup Affa =====
 
===== Setup Affa =====
 +
You want to run backups on 11:30 h, 15:30 h and 19:30 h and you want to keep the last 3 scheduled backups, 7 daily, 5 weekly, 12 monthly and 1 yearly backups.
 
# log into the 'prodbox' and install the Affa packages as described above.
 
# log into the 'prodbox' and install the Affa packages as described above.
 
# copy the config helper script sample<br><code># cp /usr/lib/affa/jobconfig-sample.pl /root/prodbox-job.pl </code>
 
# copy the config helper script sample<br><code># cp /usr/lib/affa/jobconfig-sample.pl /root/prodbox-job.pl </code>
# edit /root/prodbox-job.pl and set<br><code>my $jobname='prodbox';</code><br>and<br><code>'remoteHostName‘=>'localhost',</code><br><code>'RootDir=>'/mnt/affadevice',</code><br>Review the other properties and change them to your needs.
+
# edit /root/prodbox-job.pl and set<br><code>my $jobname='prodbox';</code><br>and<br><code>'remoteHostName‘=>'localhost',</code><br><code>'TimeSchedule'=>'1130,1530,1930',</code><br><code>'scheduledKeep'=>3,</code><br><code>'dailyKeep'=>7,</code><br><code>'weeklyKeep'=>5,</code><br><code>'monthlyKeep'=>12,</code><br><code>'yearlyKeep'=>1,</code><br><code>'RootDir=>'/mnt/affadevice',</code><br>Review the other properties and change them to your needs.
 
# write the configuration<br><code># /root/prodbox-job.pl</code>
 
# write the configuration<br><code># /root/prodbox-job.pl</code>
 
# run the job manually<br><code># affa --backup prodbox</code>
 
# run the job manually<br><code># affa --backup prodbox</code>
      
===== Limitations =====
 
===== Limitations =====
501

edits

Navigation menu