Archive:Media events with date dependent media labels

From SEPsesam
Jump to: navigation, search
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.

Copyright © SEP AG 1999-2019. 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.

  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