Backup directory timestamp issue

Moderator: crythias

Post Reply
sdbhabal
OTRS newbie
Posts: 2
Joined: 30 Nov 2018, 11:36
OTRS Version?: 6.0.6-01

Backup directory timestamp issue

Post by sdbhabal » 30 Nov 2018, 12:30

Hello Experts,

Please redirect me if this question is already been asked.

When I generate backup of OTRS using backup script.
The backup directory is creating with different time other than my system time.

For example :
[root@otrs scripts]# date
Fri Nov 30 15:54:00 IST 2018
[root@otrs scripts]# ./backup.pl -d /backup/
Backup /backup//2018-11-30_10-24/Config.tar.gz ... done
Backup /backup//2018-11-30_10-24/Application.tar.gz ... done
Dump MySQL data to /backup//2018-11-30_10-24/DatabaseBackup.sql.gz ... done
[root@otrs scripts]# ls -lrth /backup/
total 0
drwxrwx--- 2 root root 82 Nov 30 15:54 2018-11-30_10-24
[root@otrs scripts]#


Please help.

Regards
SDB.

fcasal
OTRS superhero
Posts: 210
Joined: 21 Apr 2014, 16:14
OTRS Version?: 6.0.10

Re: Backup directory timestamp issue

Post by fcasal » 01 Dec 2018, 08:54

Perhaps is because your systema is its, and otrs it could be using utc, and the difference is 5:30 hours.

Greetings

sdbhabal
OTRS newbie
Posts: 2
Joined: 30 Nov 2018, 11:36
OTRS Version?: 6.0.6-01

Re: Backup directory timestamp issue

Post by sdbhabal » 03 Dec 2018, 07:04

Thats true, but how do I resolve it ?.

fcasal
OTRS superhero
Posts: 210
Joined: 21 Apr 2014, 16:14
OTRS Version?: 6.0.10

Re: Backup directory timestamp issue

Post by fcasal » 03 Dec 2018, 07:36

In the otrs, which timezone do you have configured?

Post Reply