{"action":"created","issue":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/1024","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/1024/labels{/name}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/1024/comments","events_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/1024/events","html_url":"https://github.com/inveniosoftware/invenio/issues/1024","id":32547312,"number":1024,"title":"inveniocfg --drop-tables and var/data/files","user":{"login":"kaplun","id":119349,"avatar_url":"https://avatars.githubusercontent.com/u/119349?v=3","gravatar_id":"","url":"https://api.github.com/users/kaplun","html_url":"https://github.com/kaplun","followers_url":"https://api.github.com/users/kaplun/followers","following_url":"https://api.github.com/users/kaplun/following{/other_user}","gists_url":"https://api.github.com/users/kaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/kaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaplun/subscriptions","organizations_url":"https://api.github.com/users/kaplun/orgs","repos_url":"https://api.github.com/users/kaplun/repos","events_url":"https://api.github.com/users/kaplun/events{/privacy}","received_events_url":"https://api.github.com/users/kaplun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/c_installation","name":"c_installation","color":"ededed"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/p_minor","name":"p_minor","color":"f7c6c7"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/t_bug","name":"t_bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/5","html_url":"https://github.com/inveniosoftware/invenio/milestones/v1.x","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/5/labels","id":696655,"number":5,"title":"v1.x","description":"","creator":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"open_issues":144,"closed_issues":30,"state":"open","created_at":"2014-06-20T11:01:24Z","updated_at":"2015-03-23T19:35:56Z","due_on":"2017-12-31T23:00:00Z","closed_at":null},"comments":2,"created_at":"2014-04-30T15:48:06Z","updated_at":"2015-03-23T19:35:56Z","closed_at":"2015-03-23T19:35:56Z","body":"Originally on 2012-04-25\n\nCurrently one my think that `inveniocfg --drop-tables` will entirely wipe an Invenio instance. This is mostly true but it will not touch any file on disk. In particular files attached to Invenio records will stay on disk under `var/data/files`. If then the user load again new records these files will stay on the way.\n\nEither `--drop-tables` should also take care of removing files from disk (since their implicitly part of the data, although not stored in tables), all we should introduce a new `--drop-files` argument and we should recommend its usage for properly wiping out an Invenio instance."},"comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/comments/85160791","html_url":"https://github.com/inveniosoftware/invenio/issues/1024#issuecomment-85160791","issue_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/1024","id":85160791,"user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T19:35:56Z","updated_at":"2015-03-23T19:35:56Z","body":"Solved in 2.0.0. Please re-open if you need it in 1.x."}}