{"action":"created","issue":{"url":"https://api.github.com/repos/nuxsmin/sysPass/issues/143","labels_url":"https://api.github.com/repos/nuxsmin/sysPass/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/nuxsmin/sysPass/issues/143/comments","events_url":"https://api.github.com/repos/nuxsmin/sysPass/issues/143/events","html_url":"https://github.com/nuxsmin/sysPass/issues/143","id":111151842,"number":143,"title":"Backup and restore User, Groups and Profils?","user":{"login":"fwilly","id":1299255,"avatar_url":"https://avatars.githubusercontent.com/u/1299255?v=3","gravatar_id":"","url":"https://api.github.com/users/fwilly","html_url":"https://github.com/fwilly","followers_url":"https://api.github.com/users/fwilly/followers","following_url":"https://api.github.com/users/fwilly/following{/other_user}","gists_url":"https://api.github.com/users/fwilly/gists{/gist_id}","starred_url":"https://api.github.com/users/fwilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fwilly/subscriptions","organizations_url":"https://api.github.com/users/fwilly/orgs","repos_url":"https://api.github.com/users/fwilly/repos","events_url":"https://api.github.com/users/fwilly/events{/privacy}","received_events_url":"https://api.github.com/users/fwilly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-13T10:27:22Z","updated_at":"2015-10-13T16:39:56Z","closed_at":null,"body":"I have export accounts and categories as xml and successful import it again.\r\nBut how works backup and restore of User, Groups and Profils.\r\nI have make a backup where a tar archive of files and a sql dump is saved into backup folder.\r\n\r\n1. How can I restore it by GUI? If I copy the files to backup folder of new instance they will be not displayed.\r\n2. Can I select which data should be restored?"},"comment":{"url":"https://api.github.com/repos/nuxsmin/sysPass/issues/comments/147771457","html_url":"https://github.com/nuxsmin/sysPass/issues/143#issuecomment-147771457","issue_url":"https://api.github.com/repos/nuxsmin/sysPass/issues/143","id":147771457,"user":{"login":"nuxsmin","id":1775774,"avatar_url":"https://avatars.githubusercontent.com/u/1775774?v=3","gravatar_id":"","url":"https://api.github.com/users/nuxsmin","html_url":"https://github.com/nuxsmin","followers_url":"https://api.github.com/users/nuxsmin/followers","following_url":"https://api.github.com/users/nuxsmin/following{/other_user}","gists_url":"https://api.github.com/users/nuxsmin/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxsmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxsmin/subscriptions","organizations_url":"https://api.github.com/users/nuxsmin/orgs","repos_url":"https://api.github.com/users/nuxsmin/repos","events_url":"https://api.github.com/users/nuxsmin/events{/privacy}","received_events_url":"https://api.github.com/users/nuxsmin/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T16:39:56Z","updated_at":"2015-10-13T16:39:56Z","body":"Hi, the XML export is the only data that can be restored through the GUI, the database and app backup can be restored easily from the CLI (console).\n\nThe files are not shown in others instances because they contains an unique hash that only is known by the instance that created them.\n\nThe sql backup can be restored using this command:\n\n<code>mysql -p < file.sql</code>\n\nTake care that the database can be deleted in the process.\n\nThe app can be restored by uncompressing it in any place."}}