5 1 0:Newday Event

From SEPsesam
Other languages:

Docs latest icon.png Welcome to the latest SEP sesam documentation version 5.1.0 Apollon. For previous documentation version(s), check documentation archive.


SEP sesam Newday is a predefined SEP sesam daily event that resets the backup event calendar and is managed by SEPuler. It is accessible under schedules: Main Selection -> Scheduling -> Schedules. A Newday event is used by SEP sesam to reorder its database and enable uninterrupted activity of SEP sesam processes. It must therefore never be completely disabled, otherwise it will cause SEP sesam to stop working properly. See Newday event functions.

How it works – defining a backup day

Newday is used to define a new backup day. All SEP sesam protocol and log files are created with the date of the backup day.

If a Newday event is set to 08:00 (SEP sesam default), the backup day is defined from 8am of the current day to 8am of the next day. Backups that run after midnight – the actual date change – are given a timestamp with the date of the previous day to avoid creating backups for the same data (one saveset for day 1 and another for day 2).

With SEP sesam Newday, all media backed up from one sesam day, e.g., from Monday 8am to Tuesday 7.59am, will have the same date. SEP sesam Newday gives system administrators 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 that need to be backed up exceeds the time span between the end of the day and midnight.

When checking in SEP sesam GUI, for example, backups by state, the selected/displayed date always refers to the sesam backup day with the timespan of hours defined by Newday. In the above example of a defined backup day (from 8am of the current day to 8am of the next day), 13 November would define the backup day from Monday, 13.11. from 8am, to Tuesday, 14.11. to 7.59am. Keep in mind that the backup day by default does not correspond to the calendar day.

Information sign.png Note
To ensure error-free execution of the SEP sesam backup environment, SEP Newday should never be completely deactivated. Switching Newday off prevents 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.

Besides resetting the event calendar and setting a new backup day, Newday also performs the following:

  • Deletes files and database entries for savesets that no longer exist.
  • Finalizes the SEP sesam status and daily log files.
  • Reorganizes the SEP sesam database.
  • Advances the event calendar (SEPuler) by one day.
  • Restarts the SMS- and STPD-processes.
  • Starts garbage collection on Si3 and Si3 NG deduplication stores.
  • Deletes log files and database entries for savesets which no longer exist on SEP sesam Server and RDS.

Preventing Newday from cancelling running activities

You can set a Newday behaviour to allow uninterrupted execution of SEP sesam operations. The activities that are still running can be cancelled by the Newday event, or they can continue to run through Newday. If you want to enable active tasks to continue running through Newday event, go to Schedules -> Newday event properties -> tab Parameter, and select the option Continue all running events for handling running events during Newday. Note that by default the option Cancel all running events is selected.

If the Newday is configured as explained above, it does not interrupt any ongoing backup when it starts, so the Newday can be set to be active at all times.

Newday event Apollon.jpg

Enabling Newday to block events

SEP sesam provides options to prevent activation of events on certain days, such as holidays. A blocking event is an event that prevents another event from being activated. You can create a newday blocking event that can impact all tasks and you can select which types of events should be blocked.

Information sign.png Note
It is not recommended to use the existing SEP sesam NEWDAY event as a blocking event. Create a new custom newday event and define that one as a blocking event.


  1. Select a schedule that does not have any events or create a new schedule. Right-click the schedule and click New Newday Event.
  2. Set the priority for this event. Note that the priority of this blocking event must be higher than the priorities of the event you want to block. The lowest priority is 1 and the highest priority is 99. For more information see event priorities.
  3. Enable option Blocking date.
  4. Select the types of events you want to block. You can select only certain event types or all events.
  5. Click OK to add the blocking newday event to the schedule.

Blocking newday event Apollon.jpg

Preventing the sm_alarm or sm_notify interface from blocking the Newday execution

If you use the SEP sesam email notification based on the sm_alarm and/or sm_notify interface scripts, be aware that adding some long-running actions that take a lot of time can block the execution of the sm_newday event and possibly other SEP sesam actions, such as backups.

Starting with version 5.0.0 Jaglion, you can use the submit_notify option to let these scripts run in the background and prevent them from blocking SEP sesam actions.


  1. From Main Selection -> Scheduling -> Schedules, double-click the Newday event.
  2. In the properties of the Newday event (tab Parameter), enter submit_notify in the Options field and click OK.
  3. Newday-submit notify.jpg

For details on using SEP sesam email notifications and enabling interfaces, see How to Configure Mail Notification.

See also

The SEPuler - an event calendarCreating 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.