StamusNetworks / scirius

Scirius is a web application for Suricata ruleset management and threat hunting.
GNU General Public License v3.0
621 stars 148 forks source link

scirius uses UTC for naming backup files #73

Open mobidevadmin opened 8 years ago

mobidevadmin commented 8 years ago

Hi,

scirius uses UTC timestamp for backup files. Is it ok as i was confused planning my backup schema? For instance, backup file name is db-scirius-2016-05-05-190838.tar.bz2 but in fact it was created at 10 PM.

pevma commented 8 years ago

Are you with 3hr time diff from UTC?

mobidevadmin commented 8 years ago

Hi pevma,

you are right

pevma commented 8 years ago

Can you try changing the default time zone for the selks user see if that will have the desired effect ?
(From mange accounts then select edit and adjust the timezone)

mobidevadmin commented 8 years ago

pevma,

this doesn't affect the time been put in the backup. We did backup via cronjob from root account by issuing this command

/usr/bin/python /opt/scirius/manage.py scbackup

The local console timezone is correct (+3)

pevma commented 8 years ago

Seems we need to adjust that indeed. @regit thoughts?