Backup directory timestamp issue

Moderator: crythias

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

Backup directory timestamp issue

Post by sdbhabal »

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
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: Backup directory timestamp issue

Post by fcasal »

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

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

Re: Backup directory timestamp issue

Post by sdbhabal »

Thats true, but how do I resolve it ?.
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: Backup directory timestamp issue

Post by fcasal »

In the otrs, which timezone do you have configured?
Post Reply