{"action":"created","issue":{"url":"https://api.github.com/repos/bit-team/backintime/issues/661","repository_url":"https://api.github.com/repos/bit-team/backintime","labels_url":"https://api.github.com/repos/bit-team/backintime/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/bit-team/backintime/issues/661/comments","events_url":"https://api.github.com/repos/bit-team/backintime/issues/661/events","html_url":"https://github.com/bit-team/backintime/issues/661","id":189332521,"number":661,"title":"Restore a system from a system snapshot","user":{"login":"codesmaker","id":6999196,"avatar_url":"https://avatars.githubusercontent.com/u/6999196?v=3","gravatar_id":"","url":"https://api.github.com/users/codesmaker","html_url":"https://github.com/codesmaker","followers_url":"https://api.github.com/users/codesmaker/followers","following_url":"https://api.github.com/users/codesmaker/following{/other_user}","gists_url":"https://api.github.com/users/codesmaker/gists{/gist_id}","starred_url":"https://api.github.com/users/codesmaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesmaker/subscriptions","organizations_url":"https://api.github.com/users/codesmaker/orgs","repos_url":"https://api.github.com/users/codesmaker/repos","events_url":"https://api.github.com/users/codesmaker/events{/privacy}","received_events_url":"https://api.github.com/users/codesmaker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-15T08:50:10Z","updated_at":"2016-11-17T12:41:53Z","closed_at":null,"body":"Hi,\r\n\r\nI have been trying to restore a system (ubuntu 16.04) from scratch using a system snapshot but I'm facing some problems.\r\n\r\n1- It seems that there are some files that are restored with wrong permissions. I can give one example:\r\nBefore the restore:\r\n-rwxr-sr-x 1 root mlocate 39520 Nov 18  2014 /usr/bin/mlocate\r\nAfter the restore:\r\n-rwxr-xr-x 1 root mlocate 39520 Nov 18  2014 /usr/bin/mlocate\r\n\r\n2- After the restore has finished, I can login with no problem but if I lock the PC, the same password which was used to login doesn't work anymore. I can work around that by clicking on the swtich account (on the upper right corner) and then I choose the same user and the password works. This could be related to wrong permissions?\r\n\r\n3- It seems that when I restore, the old files don't get deleted. It means that the restoration process doesn't delete the files then restore. Does it mean that I won't get an exact copy of the snapshot? Yes, there is an option to restore and delete files but I'm restoring from a live image and it seems that this option always restore to the \"/\" which is a USB drive, not to a mounted partition. Is there a way to restore and delete while choosing a specific partition?\r\n\r\nThanks a lot for all your help and efforts!"},"comment":{"url":"https://api.github.com/repos/bit-team/backintime/issues/comments/261237205","html_url":"https://github.com/bit-team/backintime/issues/661#issuecomment-261237205","issue_url":"https://api.github.com/repos/bit-team/backintime/issues/661","id":261237205,"user":{"login":"codesmaker","id":6999196,"avatar_url":"https://avatars.githubusercontent.com/u/6999196?v=3","gravatar_id":"","url":"https://api.github.com/users/codesmaker","html_url":"https://github.com/codesmaker","followers_url":"https://api.github.com/users/codesmaker/followers","following_url":"https://api.github.com/users/codesmaker/following{/other_user}","gists_url":"https://api.github.com/users/codesmaker/gists{/gist_id}","starred_url":"https://api.github.com/users/codesmaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesmaker/subscriptions","organizations_url":"https://api.github.com/users/codesmaker/orgs","repos_url":"https://api.github.com/users/codesmaker/repos","events_url":"https://api.github.com/users/codesmaker/events{/privacy}","received_events_url":"https://api.github.com/users/codesmaker/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T12:41:53Z","updated_at":"2016-11-17T12:41:53Z","body":"WOW, that was fast, the testing and adding the feature:). Yes, I can set the guid manually without no problem even when the partition is mounted with nosuid. I also tried to delete all the files in the partition and restore but I always have it without the guid set. Have you checked this particular file after you restored (/usr/bin/mlocate)?\r\n\r\nHere is my restore log [http://www.filedropper.com/restore_1](url). Maybe it will be useful for you. I can see in the log that there is a chown for this file:\r\nchown /media/ubuntu/844b7144-b424-468e-8c55-8f8985b62221/usr/bin/mlocate 0 : 117\r\nBut there is no chmod for it. Is that normal?"}}
{"actor":{"display_login":"codesmaker"}}