Hello,
we want to change the naming of the media sets in our tape media pools and encountered a situation with the available variables.
Our goal is to include date and time in the media set name in format ”yyyymmdd_hh:mm”
The variable %date% gives date and time in the format “dd.mm.yyyy hh:mm” (ok, the date format is based on the system locale). But we cannot change the system locale for this…. 🙁
With the variables %year%, %month%, %day% and %time% it should be possible to build a date_time string in the desired format. But unfortunately, the value of the %month% variable is the name of the month, not the number
Does someone have an idea or a trick how to get the number of the month? Are the variables configurable? Just asking all the experts here before opening a support ticket. 😎
Documentation mentions nothing about this…
https://helpcenter.veeam.com/archive/backup/90/vsphere/add_media_pool_set.html
Please forget my question
You should look at the documentation for the correct version…
V11 documentation mentions another variable: %monthnumeric%
https://helpcenter.veeam.com/docs/backup/vsphere/media_set_names.html?ver=110
I will use this