Page 1 of 1

Wrong backup times reporting

PostPosted: Sun Jul 17, 2016 2:27 am
by mdi
Hi guys,
Small issue: it seems that the reported backup time are wrong. The end time is prior the start time:

Started: 2016-07-17_04:00:09
Ended: 2016-07-17 03:00:10

The start time also has an underscore char which is not present in the end time.
Probably the backup script doesn't use the daylight saving offset for the end time? Not sure.

Thanks.

Re: Wrong backup times reporting

PostPosted: Mon Aug 08, 2016 3:26 pm
by Jocko
Hi mdi,

I checked code lines and I found nothing wrong :scratch
In what context did you get these lines : notification or in log file?

Otherwise maybe an explanation, start date is give on a shell environment but end date is provided by php. Can you check if you get the same date with
Code: Select all
date +%Y/%m/%d_%T
 php -r 'echo date("Y-m-d H:i:s")."\n";'