Changes

Jump to navigation Jump to search
204 bytes added ,  15:38, 20 March 2008
Line 251: Line 251:  
Runs a full restore from the backup ARCHIVE on the Affa server <b>(!)</b> from the backup ARCHIVE of job JOB. In other words: After completion, the Affa box reboots as a clone of the source server. Ensure, that the source server has been powered off before you reboot the Affa box, otherwise the network interface will not come up. This is important, when you run --rise remotely. The --rise feature only works with SME 7 servers.
 
Runs a full restore from the backup ARCHIVE on the Affa server <b>(!)</b> from the backup ARCHIVE of job JOB. In other words: After completion, the Affa box reboots as a clone of the source server. Ensure, that the source server has been powered off before you reboot the Affa box, otherwise the network interface will not come up. This is important, when you run --rise remotely. The --rise feature only works with SME 7 servers.
   −
  affa --undo-rise
+
  affa --create-backup-file JOB [ARCHIVE] [--outfile=FILE]
This feature reverts a risen Affa box to a backup server. After a reboot, all configured jobs will work again.
+
Creates a gzipped tar archive FILE from the ARCHIVE of job JOB. During creation the MD5 checksum is calculated against which the written tar is checked. The default ARCHIVE is scheduled.0 and default the FILE is ./smeserver.tgz. The checksum is written to FILE.md5sum.
    
  affa --list-archives [--csv] JOB
 
  affa --list-archives [--csv] JOB
Line 261: Line 261:  
Displays a table of all configured jobs with enable status, time of last and next run, size, disk usage and the number of scheduled (s), daily (d), weekly (w), monthly (m) and yearly (y) archives. Last time shows 'failed', if a job did not run in the last 24h. For disabled jobs 'Last' always shows 'failed' after 24 h. To see the date and time of the last run of those jobs use the --list-archives option. Column 'Next' shows the time when the next run will be started, if 'Enabled' is 'yes'. Column 'Disk usage' shows the usage of the partion, where the RootDir of the job is located on. If all jobs are located in the same RootDir, identical disk usage is shown for all jobs. If RootDir is /var/affa, the usage of the SME server system partition is shown.
 
Displays a table of all configured jobs with enable status, time of last and next run, size, disk usage and the number of scheduled (s), daily (d), weekly (w), monthly (m) and yearly (y) archives. Last time shows 'failed', if a job did not run in the last 24h. For disabled jobs 'Last' always shows 'failed' after 24 h. To see the date and time of the last run of those jobs use the --list-archives option. Column 'Next' shows the time when the next run will be started, if 'Enabled' is 'yes'. Column 'Disk usage' shows the usage of the partion, where the RootDir of the job is located on. If all jobs are located in the same RootDir, identical disk usage is shown for all jobs. If RootDir is /var/affa, the usage of the SME server system partition is shown.
 
<small><pre>
 
<small><pre>
Affa version 0.8.0 on backup.mydomain.de (10.204.48.2)
+
Affa version 0.10.0-1 on backup.mydomain.de (10.204.48.2)
 
+---------------+------+--------+-------+--------+------------+----------------+
 
+---------------+------+--------+-------+--------+------------+----------------+
 
| Job          | ENBL | Last  | Next  |  Size | Disk usage | N of s,d,w,m,y |
 
| Job          | ENBL | Last  | Next  |  Size | Disk usage | N of s,d,w,m,y |
Line 289: Line 289:  
Prints a 'graphical' timetable for all enabled jobs. The resolution is 30 minutes. Disabled jobs are not shown.
 
Prints a 'graphical' timetable for all enabled jobs. The resolution is 30 minutes. Disabled jobs are not shown.
 
<small><pre>
 
<small><pre>
Affa version 0.8.0 on backup.mydomain.de (10.204.48.2)
+
Affa version 0.10.0-1 on backup.mydomain.de (10.204.48.2)
 
     TIME 0:00    4:00    8:00    12:00    16:00    20:00   
 
     TIME 0:00    4:00    8:00    12:00    16:00    20:00   
 
       crm -X------ -------- -------- -------- -------- --------
 
       crm -X------ -------- -------- -------- -------- --------
501

edits

Navigation menu