{"action":"created","issue":{"url":"https://api.github.com/repos/dotCMS/core/issues/9874","repository_url":"https://api.github.com/repos/dotCMS/core","labels_url":"https://api.github.com/repos/dotCMS/core/issues/9874/labels{/name}","comments_url":"https://api.github.com/repos/dotCMS/core/issues/9874/comments","events_url":"https://api.github.com/repos/dotCMS/core/issues/9874/events","html_url":"https://github.com/dotCMS/core/issues/9874","id":180689813,"number":9874,"title":"Index Snapshot zip file gets stored in dotsecure folder after it's uploaded from UI","user":{"login":"shaydotcms","id":8741846,"avatar_url":"https://avatars.githubusercontent.com/u/8741846?v=3","gravatar_id":"","url":"https://api.github.com/users/shaydotcms","html_url":"https://github.com/shaydotcms","followers_url":"https://api.github.com/users/shaydotcms/followers","following_url":"https://api.github.com/users/shaydotcms/following{/other_user}","gists_url":"https://api.github.com/users/shaydotcms/gists{/gist_id}","starred_url":"https://api.github.com/users/shaydotcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaydotcms/subscriptions","organizations_url":"https://api.github.com/users/shaydotcms/orgs","repos_url":"https://api.github.com/users/shaydotcms/repos","events_url":"https://api.github.com/users/shaydotcms/events{/privacy}","received_events_url":"https://api.github.com/users/shaydotcms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotCMS/core/milestones/45","html_url":"https://github.com/dotCMS/core/milestones/Rex%20Current","labels_url":"https://api.github.com/repos/dotCMS/core/milestones/45/labels","id":2035850,"number":45,"title":"Rex Current","description":"","creator":{"login":"dsilvam","id":1576794,"avatar_url":"https://avatars.githubusercontent.com/u/1576794?v=3","gravatar_id":"","url":"https://api.github.com/users/dsilvam","html_url":"https://github.com/dsilvam","followers_url":"https://api.github.com/users/dsilvam/followers","following_url":"https://api.github.com/users/dsilvam/following{/other_user}","gists_url":"https://api.github.com/users/dsilvam/gists{/gist_id}","starred_url":"https://api.github.com/users/dsilvam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsilvam/subscriptions","organizations_url":"https://api.github.com/users/dsilvam/orgs","repos_url":"https://api.github.com/users/dsilvam/repos","events_url":"https://api.github.com/users/dsilvam/events{/privacy}","received_events_url":"https://api.github.com/users/dsilvam/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":0,"state":"open","created_at":"2016-09-28T19:40:22Z","updated_at":"2016-10-04T14:56:33Z","due_on":"2016-10-21T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-03T16:51:29Z","updated_at":"2016-10-04T20:56:34Z","closed_at":null,"body":"Related to #9127 \r\nWhen you upload an index snapshot, the system keeps the .zip file inside “dotsecure\" folder. In addition, it creates the repo folder defined in dotcms-config-cluster.properties (i.e.: es.path.repo=dotsecure/test_snapshots) which contains info about the index:\r\n![image](https://cloud.githubusercontent.com/assets/8741846/19045521/7d5759a0-8956-11e6-8c11-d27a16bc7a21.png)\r\n\r\n## Steps to Reproduce (for bugs)\r\n1-Open file dotcms-config-cluster.properties and add the following property: es.path.repo=dotsecure/test_snapshots\r\n2-Save changes\r\n3-Startup dotcms instance\r\n4-Login to dotcms\r\n5-Navigate to System> Maintenance> Index tab. Right click over any index and select \"Download Index Snapshot\"\r\n6-Delete the index you downloaded\r\n7-Take a look locally to dotsecure folder so you can see what folders/files you currently have\r\n8-Now click \"Add Index\" button and select Restore Index Snapshot to upload the same index\r\n9-Go back to dotsecure folder, you will see the .zip file that you uploaded is created inside “dotsecure” folder, as long with the repo folder defined in dotcms-config-cluster.properties\r\n\r\n## Expected Behavior\r\nSystem should not keep the .zip file that you uploaded neither keep the repo folder defined in dotcms-config-cluster.properties\r\n\r\n## Current Behavior\r\nThe index snapshot (.zip file) that you uploaded is created inside “dotsecure” folder, as long with the repo folder defined in dotcms-config-cluster.properties\r\n\r\n## Your Environment\r\nTested on branch \"issue-9127-replace-current-index-backup-restore\" // Ubuntu 14.04.1 // Postgres 9.3.5 // Firefox"},"comment":{"url":"https://api.github.com/repos/dotCMS/core/issues/comments/251511035","html_url":"https://github.com/dotCMS/core/issues/9874#issuecomment-251511035","issue_url":"https://api.github.com/repos/dotCMS/core/issues/9874","id":251511035,"user":{"login":"maurizo","id":8960865,"avatar_url":"https://avatars.githubusercontent.com/u/8960865?v=3","gravatar_id":"","url":"https://api.github.com/users/maurizo","html_url":"https://github.com/maurizo","followers_url":"https://api.github.com/users/maurizo/followers","following_url":"https://api.github.com/users/maurizo/following{/other_user}","gists_url":"https://api.github.com/users/maurizo/gists{/gist_id}","starred_url":"https://api.github.com/users/maurizo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurizo/subscriptions","organizations_url":"https://api.github.com/users/maurizo/orgs","repos_url":"https://api.github.com/users/maurizo/repos","events_url":"https://api.github.com/users/maurizo/events{/privacy}","received_events_url":"https://api.github.com/users/maurizo/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T20:56:34Z","updated_at":"2016-10-04T20:56:34Z","body":"Fixed on #9127  by https://github.com/dotCMS/core/commit/f532ba4c572fa90f05dba6857dbbb04b080cdec8"}}
{"actor":{"display_login":"maurizo"}}