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 roles.
How does it work – 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.
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 check box All Events next to Do not cancel these activities. Note that by default this option is selected and active tasks are continued.
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.
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.
- From Main Selection -> Scheduling -> Schedules, double-click the Newday event.
- In the properties of the Newday event (tab Parameter), enter submit_notify in the Options field and click OK.
For details on using SEP sesam email notifications and enabling interfaces, see How to Configure Mail Notification.