View Issue Details

IDProjectCategoryView StatusLast Update
0000945bareos-corestorage daemonpublic2023-07-27 15:23
Reporterfazae Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
PlatformLinuxOSUbuntuOS Version16.04
Product Version17.2.4 
Summary0000945: Improve Pool "Label format" with 2 digits timestamps
DescriptionDate-Times label format are only one digit.

For instance:

 Label Format = "SQL-$Year$Month$Day-$Hour$Minute$Second"

will generate for the first day of Febuary at 03:05:06

 SQL-201821-356

It could be better with 2 digit number with a filling zero like SQL-20180201-030506

Like this it is easier to read, and files list is correctly ordered.


Here is the link to documentation: http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-1270008.3.3
Steps To ReproduceIn /etc/bareos/bareos-dir.d/pool/mypool.conf


Label Format = "SQL-$Year$Month$Day-$Hour$Minute$Second"

See created filenames
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-07-27 15:23

manager   ~0005258

We will deprecated and discourage LabelFormat variable due to frequent misusage.

Issue History

Date Modified Username Field Change
2018-05-14 08:19 fazae New Issue
2023-07-27 15:23 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-27 15:23 bruno-at-bareos Status new => closed
2023-07-27 15:23 bruno-at-bareos Resolution open => won't fix
2023-07-27 15:23 bruno-at-bareos Note Added: 0005258