Archive:Media events with date dependent media labels

From SEPsesam
Revision as of 10:45, 21 April 2017 by Sta (talk | contribs) (Sta moved page Media events with date dependent media labels to Archive:Media events with date dependent media labels without leaving a redirect: Outdated, misleading.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Icon archived docs.png THE CONTENT OF THIS PAGE IS OUTDATED
SEP AG has discontinued support for obsolete SEP sesam versions. Instructions are still available for these SEP sesam products, however, SEP AG accepts no responsibility or liability for any errors or inaccuracies in the instructions or for the incorrect operation of obsolete SEP sesam software. It is strongly recommended that you update your SEP sesam software to the latest version. For the latest version of SEP sesam documentation, see documentation home.

Template:Copyright SEP AG en

SEPsesam can dynamically create labels for media events based on current date.

  1. Create a new media event or modify an exiting one
  2. Enter the media pool and drive as usual
  3. 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