Date dependent media events
From SEPsesam
(C)SEP AG
Copyright 1999-2011 by SEP AG. 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.
SEPsesam can dynamically create labels for media events based on current date.
- Create a new media event or modify an exiting one
- Enter the media pool and drive as usual
- Under Options enter <poolname>:<wildcard>. The poolname has to match the chosen one
The wildcard has to be a valid conversation parameter of strftime function (see man strftime). Conversation should result in a number which is used for tape id.
Some often used wildcards:
- %u
- day of the week starting on Mon=1
- %m
- month as a decimal number
Examples
Initialize a medium every day where the label depends on a weekday:
- Create a new media event which is scheduled every day or at certain days of a week
- Choose WEEK for media pool (assuming you have already created a pool with this name)
- Enter WEEK:%u under options
Then SEP sesam will initialize the following tapes:
- WEEK00001 on Monday
- WEEK00002 on Tuesday
- ...
- WEEK00007 on Sunday
Monthly backups:
- Create a new media event which is scheduled e.g for every first Sunday of a month
- Choose Month for media pool (assuming you have already created a pool with this name)
- Enter Month:%u under options
Then SEP sesam will initialize the following tapes:
- Month00001 in January
- Month00002 in February
- ...
- Month00012 in December
