{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4460","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4460/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4460/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4460/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4460","id":90982560,"number":4460,"title":"OAutomaticBackup - firstTime always shifted by one hour ","user":{"login":"guglielmomoretti","id":2829667,"avatar_url":"https://avatars.githubusercontent.com/u/2829667?v=3","gravatar_id":"","url":"https://api.github.com/users/guglielmomoretti","html_url":"https://github.com/guglielmomoretti","followers_url":"https://api.github.com/users/guglielmomoretti/followers","following_url":"https://api.github.com/users/guglielmomoretti/following{/other_user}","gists_url":"https://api.github.com/users/guglielmomoretti/gists{/gist_id}","starred_url":"https://api.github.com/users/guglielmomoretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guglielmomoretti/subscriptions","organizations_url":"https://api.github.com/users/guglielmomoretti/orgs","repos_url":"https://api.github.com/users/guglielmomoretti/repos","events_url":"https://api.github.com/users/guglielmomoretti/events{/privacy}","received_events_url":"https://api.github.com/users/guglielmomoretti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-25T14:35:38Z","updated_at":"2015-06-25T15:51:05Z","closed_at":"2015-06-25T15:05:39Z","body":"Hi,\r\n\r\nI was experimenting the automatic backup feature of OrientDB, trying to setup the following schedule.\r\n\r\n- Once a day\r\n- At 16:03:00 \r\n\r\nThe rest of the configuration is as default in orientdb-server-config.xml:\r\nThe XML looks like the following:\r\n\r\n```xml\r\n<handler class=\"com.orientechnologies.orient.server.handler.OAutomaticBackup\">\r\n         <parameters>\r\n                 <parameter value=\"true\" name=\"enabled\"/>\r\n                 <parameter value=\"1d\" name=\"delay\"/>\r\n                 <parameter value=\"16:03:00\" name=\"firstTime\"/>\r\n                 <parameter value=\"c:/backup\" name=\"target.directory\"/>\r\n                 <parameter value=\"${DBNAME}-${DATE:yyyyMMddHHmmss}.zip\" name=\"target.fileName\"/>\r\n                 <parameter value=\"9\" name=\"compressionLevel\"/>\r\n                 <parameter value=\"1048576\" name=\"bufferSize\"/>\r\n                 <parameter value=\"test\" name=\"db.include\"/>\r\n                 <parameter value=\"\" name=\"db.exclude\"/>\r\n         </parameters>\r\n</handler>\r\n```\r\n\r\nWhen the server starts, the following line is printed out:\r\n\r\n```\r\nAutomatic backup plugin installed and active: delay=86400000ms, firstTime=**Thu Jun 25 17:03:00 CEST 2015**, targetDirectory=c:/backup/ [OAutomaticBackup]\r\n```\r\n\r\nThe date shown is not what i planned it to be.\r\nOf course as a temporary workaround I can shift it by on hour.\r\n\r\nDid i miss something or it can be considered as a bug?\r\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/115300827","html_url":"https://github.com/orientechnologies/orientdb/issues/4460#issuecomment-115300827","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4460","id":115300827,"user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T15:51:05Z","updated_at":"2015-06-25T15:51:05Z","body":"You was right: I've just added a comment in docs about it."}}