Date depended media appointments
From SEPsesam
SEPsesam can dynamically create labels for media appointments based on current date.
- Create a new media appointment or modify an exiting one
- Enter 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 label depends on weekday:
- Create a new media appointment, which is scheduled every day or at certain days of a week
- Chose WEEK for media pool (assuming you have already created a pool with this name)
- Enter WEEK:%u under options
Then Sesam will initialize the following tapes:
- WEEK00001 on Monday
- WEEK00002 on Tuesday
- ...
- WEEK00007 on Sunday
Monthly backups:
- Create a new media appointment, which is scheduled for example every first Sunday of a month
- Chose Month for media pool (assuming you have already created a pool with this name)
- Enter Month:%u under options
Then Sesam will initialize the following tapes:
- Month00001 in January
- Month00002 in February
- ...
- Month00012 in December
