Bug #59130 backup directory name as timestamp string may prefix hour with _ instead of 0

Submitted: 23 Dec 2010 13:41 Modified: 9 Apr 2012 22:39
Reporter: Victor Kirkebo Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:3.5.2 OS:Any
Assigned to: CPU Architecture:Any

[23 Dec 2010 13:41] Victor Kirkebo
Description:
If the --no-timestamp option is not used then mysqlbackup will create the backup directory using a string representation of a timestamp as the backup directory name, e.g.:
2010-12-22_20-52-43

However, if the backup is taken at a time of the day such that there is only one digit H in the value of the "Hour" then the hour will be set as "_H" in the directory name, e.g:
2010-12-22__2-52-43
I think it would be better to prefix the "Hour" with "0" in such cases, e.g:
2010-12-22_02-52-43

How to repeat:
Take a backup at a time of the day when the hour has only one digit in it, e.g. at 1 a.m.
After backup is taken verify that the backup directory name is created as described above.
[24 Dec 2010 0:19] Sveta Smirnova
Thank you for the report.

Verified as described.
[9 Apr 2012 22:39] Hema Sridharan
This bug is fixed in MEB 3.7.1

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.