Contents |
The scheduling of SEP sesam backup and restore tasks is controlled by the SEPuler, which acts as an electronic calendar and assistant performing all stored backup and restore events. The SEPuler is a permanently active background routine (daemon) constantly checking for events to be executed. When the SEPuler finds a backup/restore task the execution of the corresponding program is initiated. Once the backup task has started, the SEPuler will determine the next execution event for a cyclical backup/restore task and rewrite the event to the backup calendar. For example, if the SEPuler starts a weekly backup on Saturday, January 1, it will schedule a new weekly backup to occur on January 8.
Possible types of SEPuler events are backup, media, arbitrary command and newday.
Backups initiated with the Immediate start command from the GUI or command line are posted in the calendar as non-recurring events.
All events in SEP sesam start from the SEPuler schedule, even if they are unique, one-time tasks.
The schedule provides a normalized view of the event calendar showing completed, executing and future events. It can be viewed under GUI->Scheduling->Calendar Sheet.
Detailed information regarding completed backups, restores, etc. can be obtained here.
The cyclical behaviour of SEP sesam is realized through the above mentioned schedules. A schedule is a table that describes the cyclic behaviour of an event, i.e. when the event is supposed to happen and in which periods to repeat it. The mere fact that a schedule exists does not automatically mean that an event is executed. Only when one or more events (backup, migration, command, etc.) are assigned will entries be made in the schedule which are then picked up by the SEPuler. Potential changes in the schedule naturally affect all events that are assigned to that schedule. The following functions can be done with a schedule:
For more complex event strategies schedules can be given priorities. Starting with the lowest priority 1 (up to 99) the SEPuler checks if, within a sesam day, an event with the same type (e.g. backup) and the same task name but with a higher priority has already run or is still scheduled to run. It then supresses the execution of events with lower priorities. This way, for example, several schedules are created that overlap on certain days. According to their priorities they prevent each others execution. Schedules with prio=0 get special treatment. This means that no dependencies are accounted for and they are always executed.
The equality of events is managed differently for the different types:
| Name | Time | Prio | Task |
| Daily | 8 p.m. | 1 | daily incremental |
| Weekend | 6 p.m. | 2 | differential on the weekend |
| End of month | 9 p.m. | 3 | full at the end of the month |
A blocking event is an event of any type with a higher priority which inhibits another event from moving to active backup status. It may be used to prevent the activation of certain events on specific days (e.g. end of year, end of fiscal year, holidays, etc).
| Important Information |
|
Attention
A blocking event is created by marking the corresponding priority field during the configuration of an event.
Example A backup event that executes the task stratu1_etc runs continually with priority 2. A second backup event, also for the task stratum1_etc is only scheduled for December 24th every year as a blocking event with priority 9. On December 24th the priority check detects a backup stratum1_etc with higher priority and overrides the execution of the daily backup. The blocking event itself doeen't create an entry in the job status but only gives out the message that it was activated.
SEP sesam NEWDAY event resets the backup calendar. A NEWDAY switch set to Monday, 8 am, will cancel all pending jobs from the weekend and reset the SEPuler to begin looking at the current day's calendar settings. SEP sesam defines the time interval between two NEWDAY-events as a backup day. Since there is only one event for NEWDAY, it is set after the installation and only its schedule can be modified or deactivated.
Having set a daily NEWDAY-event at 08:00, the backup day extends until the morning of next day at 08:00. Backups that run after midnight - the actual date change - are 'time stamped' with the previous day's date. The reason is quite simple, yet elegant. The data was created on day one, but not backed up until day 2. To do otherwise would create two backups for the same date, with a portion on backup day 1 and the remainder on backup day 2. With SEPsesam NEWDAY all media backed up from one day have the same date. SEP sesam NEWDAY gives system managers the flexibility to extend backup routines to run after midnight and retain the backup date of the prior day. This is very useful when the computers requiring backups exceed the time allotment between the end of day and midnight.
Weekends are often used for full-backups. When this is the case, it is advisable to interrupt the NEWDAY event on the weekend. Define the execution as a weekly event but without execution since a full backup is performed instead.
Note: SEP sesam protocol or log files are all created with the date of the backup day.
Example: Backup day from 10.SEP.2007 08:00 until 11.SEP.2007 08:00 A backup starting on 11.SEP.2007 00:40 will be assigned to backup day 10.SEP.2007, it will appear in the daily protocol as 20070910.
Backups can be arranged in shifts.
A NEWDAY-event also executes the following tasks:
To ensure error-free execution of the SEP sesam backup environment SEP NEWDAY should never be completely deactivated. By switching NEWDAY off you will prevent SEP sesam from reordering its database. SEP sesam will no longer be able to delete old log files and will cause the system to exceed system disk drive storage.
Our sales team would be happy to assist you!
Browse and discover videos by SEP.