4 4 3 Beefalo:SEPuler - an event calendar: Difference between revisions

From SEPsesam
(Fixed links and added footer.)
m (fixing transclusion)
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<translate><!--T:1-->
<noinclude><div class="noprint"><languages />
<noinclude><div class="noprint"><languages />
{{Template:Navigator Beefalo/en|Media Strategy|Media Strategy|The Backup|The Backup}}</div></noinclude></translate><translate><!--T:69-->
<translate><!--T:1--> {{Template:Navigator Beefalo/en|Media Strategy|Media Strategy|Backup|Backup}}</translate></div>
<br />


==={{anchor|SEPuler}}SEPuler – an event calendar=== <!--T:2-->
</noinclude>==={{anchor|SEPuler}}<translate><!--T:2-->
SEPuler – an event calendar===


<!--T:3-->
<!--T:3-->
{{Template:GUI Beefalo Redesign/en}}
SEPuler is a process that controls the scheduling of all SEP sesam tasks, such as backup, migration, replication, restore and other tasks. It acts as an electronic calendar and assistant performing all SEP sesam data protection events.
SEPuler is a process that controls the scheduling of all SEP sesam tasks, such as backup, migration, replication, restore and other tasks. It acts as an electronic calendar and assistant performing all SEP sesam data protection events.


Line 19: Line 17:
[[Special:MyLanguage/4_4_3_Beefalo:Backup#backup|Backup]], [[Special:MyLanguage/Configuring_Migration|migration]],</translate>
[[Special:MyLanguage/4_4_3_Beefalo:Backup#backup|Backup]], [[Special:MyLanguage/Configuring_Migration|migration]],</translate>
<translate><!--T:7-->
<translate><!--T:7-->
[[Special:MyLanguage/Replication#replication|replication]], [[Special:MyLanguage/Creating_a_Media_Event|media event]], [[Special:MyLanguage/FAQ#command_event_configuration|command event]],</translate>
[[Special:MyLanguage/About_Replication|replication]], [[Special:MyLanguage/Creating_a_Media_Event|media event]], [[Special:MyLanguage/Creating_a_Command_Event|command event]],</translate>
<translate><!--T:8-->
<translate><!--T:8-->
[[Special:MyLanguage/4_4_3_Beefalo:Restore#restore|restore]] and [[Special:MyLanguage/4_4_3_Beefalo:SEPuler_-_an_event_calendar#SEP_sesam_backup_day_–_NEWDAY|newday]] are all types of SEPuler events.  
[[Special:MyLanguage/4_4_3_Beefalo:Restore|restore]] and [[Special:MyLanguage/4_4_3_Beefalo:SEPuler_-_an_event_calendar#SEP_sesam_backup_day_–_NEWDAY|newday]] are all types of SEPuler events.  


<!--T:9-->
<!--T:9-->
Line 27: Line 25:


<!--T:10-->
<!--T:10-->
All events in SEP sesam start from the SEPuler schedule, even if they are unique, non-recurring tasks. An overview of scheduled as well as completed, expired events and their current status is provided by [[Special:MyLanguage/SEP_sesam_Glossary#calendar_sheet|''Calendar sheet'']] from the '''Main selection''' -> '''Scheduling''' -> '''Calendar sheet'''.
All events in SEP sesam start from the SEPuler schedule, even if they are unique, non-recurring tasks. An overview of scheduled as well as completed, expired events and their current status is provided by [[Special:MyLanguage/SEP_sesam_Glossary#calendar_sheet|''Calendar sheet'']] from the ''Main selection'' -> '''Scheduling''' -> '''Calendar Sheet'''.


<!--T:11-->
<!--T:11-->
[[image:GUI_schedules.jpg|600px|link=]]</translate>
[[image:GUI_schedules_Beefalo_V2.jpg|600px|link=]]</translate>
<br clear=all>
<br clear=all>


<translate>===={{anchor|schedules}}Schedules==== <!--T:12-->
===={{anchor|schedules}}<translate><!--T:12-->
Schedules====


<!--T:13-->
<!--T:13-->
Schedules are used for setting events to occur at a specific time. A schedule is a timetable that defines the cyclic behavior of an event, i.e. when the event is to take place and how frequently to repeat it. The fact that a schedule exists does not automatically mean that an event is executed.  
Schedules are used for setting events to occur at a specific time. A schedule is a timetable that defines the cyclic behavior of an event, i.e., when the event is to take place and how frequently to repeat it. The fact that a schedule exists does not automatically mean that an event is executed.  


<!--T:14-->
<!--T:14-->
Line 46: Line 45:
* A task (backup, migration, replication, media action, restore and command event) may have events in several schedules.</translate>
* A task (backup, migration, replication, media action, restore and command event) may have events in several schedules.</translate>
<translate><!--T:16-->
<translate><!--T:16-->
* From '''v. 4.4.3 onwards''', schedules provide '''User defined''' option that allows you to create a calendar which is customized according to your country or company specific requirements. You can use it to exclude scheduled jobs from running on specific dates, such as holidays, or to schedule additional jobs on selected dates. For details, see [[Special:MyLanguage/Creating_Custom_Calendar#custom_calendar|Creating Custom Calendar]]. </translate>
* Schedules provide '''User defined''' option that allows you to create a calendar which is customized according to your country or company specific requirements. You can use it to exclude scheduled jobs from running on specific dates, such as holidays, or to schedule additional jobs on selected dates. For details, see [[Special:MyLanguage/Creating_Custom_Calendar|Creating Custom Calendar]]. </translate>
<translate><!--T:17-->
<translate><!--T:17-->
* A schedule's execution can be deactivated: a schedule will remain displayed as shaded in the list of schedules, but the related jobs will not run.</translate>
* A schedule's execution can be deactivated: a schedule will remain displayed as shaded (gray) in the list of schedules, but the related jobs will not run.</translate>
<translate>
<translate>
<!--T:68-->
<!--T:68-->
*As of [[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3 ''Grolar'']], a new option '''Without Schedule''' is available. It shows all backup events which are not assigned to a schedule. Such events are typically created for external backups, where the external applications manage the backup scheduling. For details, see [[Special:MyLanguage/4_4_3_Beefalo:Schedules#without|Schedules]].
*The option '''Without Schedule''' is available, if you set the value for <tt>enable_gui_events_without_schedule</tt> in the ''Defaults'' window (''Configuration'' -> ''Defaults'' -> ''Settings'' tab) to 1 manually. It shows all backup events which are not assigned to a schedule. Such events are typically created for external backups, where the external applications manage the backup scheduling. For details, see [[Special:MyLanguage/4_4_3_Beefalo:Schedules#without|Schedules]].</translate>


===={{anchor|event priority}}Event Priority==== <!--T:18-->
===={{anchor|event priority}}<translate><!--T:18-->
Event Priority====


<!--T:19-->
<!--T:19-->
Line 62: Line 62:


<!--T:64-->
<!--T:64-->
Priorities can be used together with [[Special:MyLanguage/4_4_3_Beefalo:SEPuler_-_an_event_calendar#Blocking Events|Blocking date]] option.
Priorities can be used together with [[Special:MyLanguage/4_4_3_Beefalo:SEPuler_-_an_event_calendar#blocking_events|Blocking date]] option.</translate>


<!--T:20-->
{{note|<translate><!--T:20--> Event priority determines which job in a queue will first be executed regardless of the equality of events. If there are jobs in the queue and a new event with a higher priority is activated by SEPuler, this job will first access a busy device.</translate>}}
{{note|Event priority determines which job in a queue will first be executed regardless of the equality of events. If there are jobs in the queue and a new event with a higher priority is activated by SEPuler, this job will first access a busy device.}}


====={{anchor|equality}}Equality of Events===== <!--T:21-->
====={{anchor|equality}}<translate><!--T:21-->
Equality of Events=====


<!--T:22-->
<!--T:22-->
Line 99: Line 99:


<!--T:38-->
<!--T:38-->
[[image:event_priority.jpg|550px|link=]]</translate>
[[image:Event_priority_Beefalo_V2.jpg|650px|link=]]</translate>
<br clear=all>
<br clear=all>


<translate>===={{anchor|blocking_events}}Blocking Events==== <!--T:39-->
===={{anchor|blocking_events}}<translate><!--T:39-->
Blocking Events====


<!--T:40-->
<!--T:40-->
Line 108: Line 109:


<!--T:41-->
<!--T:41-->
{{<translate><!--T:65-->
{{note|<translate><!--T:61-->
note</translate>|
<translate><!--T:61-->
* A blocking event is created by selecting the '''Blocking date''' checkbox during the configuration of an event.
* A blocking event is created by selecting the '''Blocking date''' checkbox during the configuration of an event.
* Switching off a schedule blocks the execution of all events using this schedule ('''Execution''' option  in the schedule).
* Switching off a schedule blocks the execution of all events using this schedule ('''Execution off''' option  in the schedule).
* A blocking event only affects other events with the same name when schedules are overlapping.
* A blocking event only affects other events with the same name when schedules are overlapping.
*A blocking event suppresses any job with the same task name at respective ([[Special:MyLanguage/SEP_sesam_Glossary#backup day|SEP sesam backup day]]) day, regardless of whether it is scheduled to be run before, during or after the blocking event.</translate>
*A blocking event suppresses any job with the same task name at respective ([[Special:MyLanguage/SEP_sesam_Glossary#backup day|SEP sesam backup day]]) day, regardless of whether it is scheduled to be run before, during or after the blocking event.</translate>
Line 122: Line 121:


<!--T:43-->
<!--T:43-->
A backup event that executes the task ''stratum1_etc'' is configured to run daily with priority 2. A second backup event for the same 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 the ''stratum1_etc'' backup with higher priority and overrides the execution of the daily backup. The blocking event itself does not create an entry in the job status, but sends a notification that it was activated.
A backup event that executes the task ''stratum1_etc'' is configured to run daily with priority 2. A second backup event for the same 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 the ''stratum1_etc'' backup with higher priority and overrides the execution of the daily backup. The blocking event itself does not create an entry in the job status, but sends a notification that it was activated.</translate>


<div class="noprint"><noinclude>
<div class="noprint"><noinclude>
===={{anchor|SEP sesam backup day – NEWDAY}}SEP sesam backup day – NEWDAY==== <!--T:44-->
=={{anchor|SEP sesam backup day – NEWDAY}}<translate><!--T:44--> SEP sesam backup day – NEWDAY</translate>==


<!--T:62-->
{{Source:Newday Event}}
{{:NEWDAY Event/en|NEWDAY Event}}
</noinclude></div></translate>


<!--T:59-->
<translate>
<translate><div class="noprint"><noinclude>
<!--T:60-->
===See also=== <!--T:60-->
===See also===
[[Special:MyLanguage/Creating_a_Schedule|Creating a Schedule]]</noinclude></div></translate>
[[Special:MyLanguage/About_Scheduling|About Scheduling]] – [[Special:MyLanguage/4_4_3_Beefalo:Schedules|Schedules Overview]] – [[Special:MyLanguage/Creating_a_Schedule|Creating a Schedule]]</translate>
<translate>{{Footer/en}}</translate>
 
<translate><!--T:80-->
{{Footer/en}}
 
<!--T:81-->
[[Category:scheduling]]</translate></noinclude></div>

Revision as of 08:38, 25 April 2023

Other languages:
<<<Back
Media Strategy
User Manual
Next>>>
Backup

SEPuler – an event calendar

SEPuler is a process that controls the scheduling of all SEP sesam tasks, such as backup, migration, replication, restore and other tasks. It acts as an electronic calendar and assistant performing all SEP sesam data protection events.

SEPuler is a permanently active background routine (daemon), constantly searching for events to be executed. When SEPuler finds a scheduled task or manually triggered event, the execution of the corresponding program is initiated.

Once the event has started, SEPuler will determine the next execution event for a cyclical task and rewrite the event to the task calendar. For example, if SEPuler starts a weekly backup on January 1, it will schedule a new weekly backup to occur on January 8.

Backup, migration, replication, media event, command event, restore and newday are all types of SEPuler events.

Events 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, non-recurring tasks. An overview of scheduled as well as completed, expired events and their current status is provided by Calendar sheet from the Main selection -> Scheduling -> Calendar Sheet.

GUI schedules Beefalo V2.jpg

Schedules

Schedules are used for setting events to occur at a specific time. A schedule is a timetable that defines the cyclic behavior of an event, i.e., when the event is to take place and how frequently to repeat it. The 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 to the schedule, it becomes active. The entries in the schedule are then picked up by the SEPuler. Modifying a schedule affects all the events assigned to that schedule.

Flexible scheduling features include the following:

  • Any number of events of the same type can be linked to one or more schedules.
  • A task (backup, migration, replication, media action, restore and command event) may have events in several schedules.
  • Schedules provide User defined option that allows you to create a calendar which is customized according to your country or company specific requirements. You can use it to exclude scheduled jobs from running on specific dates, such as holidays, or to schedule additional jobs on selected dates. For details, see Creating Custom Calendar.
  • A schedule's execution can be deactivated: a schedule will remain displayed as shaded (gray) in the list of schedules, but the related jobs will not run.
  • The option Without Schedule is available, if you set the value for enable_gui_events_without_schedule in the Defaults window (Configuration -> Defaults -> Settings tab) to 1 manually. It shows all backup events which are not assigned to a schedule. Such events are typically created for external backups, where the external applications manage the backup scheduling. For details, see Schedules.

Event Priority

For complex event strategies, event priority is used by SEPuler for resolving scheduling conflicts. Priorities can be assigned to events, from lowest (1, default) to highest (99). For each SEP sesam backup day all scheduled events are checked according to their type and priority to see whether the events of the same type (for example, a backup) with the same task name and higher priority have already expired or are still planned to run; in the latter case, SEP sesam suppresses execution of lower priority events of the same type. In other words, if there are more equal events (see equality of events) of the same type scheduled on the same backup day, only the event with a higher priority is executed. This prevents the events that might be linked to several schedules, which overlap on certain days, to be executed except for the one with the highest priority.

If all equal events of the same type have the same priority (for example, the default – 1), then all of them are executed. Events with priority 0 are not checked for dependency of event priorities and are always executed.

Priorities can be used together with Blocking date option.

Information sign.png Note
Event priority determines which job in a queue will first be executed regardless of the equality of events. If there are jobs in the queue and a new event with a higher priority is activated by SEPuler, this job will first access a busy device.
Equality of Events

The equality of events is managed according to their type:

  • Backup events are equal if their task name is the same. The same is true for each individual event type: migration, replication, command and restore event.
  • Media events are equal if their drive number or drive group number is the same.

Example In the following example, backup of the directory /etc of the client stratum1 with the task name stratum1_etc is started via three different schedules.

Name Time Priority Task
Daily 8 p.m. 1 daily incremental
Weekly 6 p.m. 2 differential on the weekend
Monthly 9 p.m. 3 full at the end of the month
  • On weekends, the weekend event is performed instead of the daily event (prio 2 overrides prio 1).
  • At the end of the month, the end of month event is performed instead of the daily event (prio 3 overrides prio 1).
  • If the end of the month and the weekend coincide, then the end of month event is performed instead the Weekend event (prio 3 overrides prio 2).

Event priority Beefalo V2.jpg

Blocking Events

A blocking event is any type of event with a higher priority that obstructs another event and prevents it 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).

Information sign.png Note
* A blocking event is created by selecting the Blocking date checkbox during the configuration of an event.
  • Switching off a schedule blocks the execution of all events using this schedule (Execution off option in the schedule).
  • A blocking event only affects other events with the same name when schedules are overlapping.
  • A blocking event suppresses any job with the same task name at respective (SEP sesam backup day) day, regardless of whether it is scheduled to be run before, during or after the blocking event.

Example

A backup event that executes the task stratum1_etc is configured to run daily with priority 2. A second backup event for the same 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 the stratum1_etc backup with higher priority and overrides the execution of the daily backup. The blocking event itself does not create an entry in the job status, but sends a notification that it was activated.

SEP sesam backup day – NEWDAY

Source:Newday Event

See also

About SchedulingSchedules OverviewCreating a Schedule


Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.