{"action":"created","issue":{"url":"https://api.github.com/repos/rear/rear/issues/987","repository_url":"https://api.github.com/repos/rear/rear","labels_url":"https://api.github.com/repos/rear/rear/issues/987/labels{/name}","comments_url":"https://api.github.com/repos/rear/rear/issues/987/comments","events_url":"https://api.github.com/repos/rear/rear/issues/987/events","html_url":"https://github.com/rear/rear/issues/987","id":173428037,"number":987,"title":"RFC: Have \"rear restoreonly\" as counterpart of \"rear mkbackuponly\" ?","user":{"login":"jsmeix","id":1788608,"avatar_url":"https://avatars.githubusercontent.com/u/1788608?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rear/rear/labels/cleanup","name":"cleanup","color":"DDDDDD"},{"url":"https://api.github.com/repos/rear/rear/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":{"login":"jsmeix","id":1788608,"avatar_url":"https://avatars.githubusercontent.com/u/1788608?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false},"assignees":[{"login":"jsmeix","id":1788608,"avatar_url":"https://avatars.githubusercontent.com/u/1788608?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/rear/rear/milestones/3","html_url":"https://github.com/rear/rear/milestones/Rear%20future","labels_url":"https://api.github.com/repos/rear/rear/milestones/3/labels","id":98819,"number":3,"title":"Rear future","description":"**Long term changes and inactive issues**\r\nThe following issues need feedback from reporter, need more discussion, or are not tight to a specific release.","creator":{"login":"dagwieers","id":388198,"avatar_url":"https://avatars.githubusercontent.com/u/388198?v=3","gravatar_id":"","url":"https://api.github.com/users/dagwieers","html_url":"https://github.com/dagwieers","followers_url":"https://api.github.com/users/dagwieers/followers","following_url":"https://api.github.com/users/dagwieers/following{/other_user}","gists_url":"https://api.github.com/users/dagwieers/gists{/gist_id}","starred_url":"https://api.github.com/users/dagwieers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagwieers/subscriptions","organizations_url":"https://api.github.com/users/dagwieers/orgs","repos_url":"https://api.github.com/users/dagwieers/repos","events_url":"https://api.github.com/users/dagwieers/events{/privacy}","received_events_url":"https://api.github.com/users/dagwieers/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":51,"state":"open","created_at":"2012-03-22T12:40:53Z","updated_at":"2016-09-28T15:01:25Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-26T11:05:48Z","updated_at":"2016-09-29T09:54:32Z","closed_at":null,"body":"Hereby I ask for comments whether or not it could make sense\r\nto have a new \"rear restoreonly\" workflow as counterpart\r\nof \"rear mkbackuponly\".\r\n\r\nThe following issue triggered this RFC:\r\nhttp://lists.relax-and-recover.org/pipermail/rear-users/2016-August/003414.html\r\nIt reads (excerpts):\r\n<pre>\r\n> Is there a way to skip deleting the partitions?\r\n> so just a way to then get REAR to copy the files back\r\n\r\n... in the recovery system \"rear recover\" ... should\r\nuse the disk as is, only restore the backup and exit?\r\n\r\nI.e. you ask for a counterpart of \"rear mkbackuponly\"\r\nin the recovery system like \"rear restoreonly\"\r\n</pre>\r\n\r\nThe main use-cases that I have in mind for \"restoreonly\"\r\nis the main use-case for GRUB_RESCUE, see default.conf:\r\n<pre>\r\nThe main reason for the GRUB_RESCUE functionality is\r\nto be quickly able to recover a system\r\nfrom soft errors (like deleting all of /lib/) without\r\ndigging out the rear recovery boot medium.\r\n</pre>\r\n\r\nAfter soft errors like deleting all of /lib/ there is no need\r\nto recreate partitioning and filesystems.\r\n\r\nWhat is needed to recover from such soft errors is\r\nto get the tree of filesystems mounted at /mnt/local\r\nand then restore the backup therein.\r\n\r\nAfter backup restore one needs probably additionally\r\nrecreating the initrd and reinstalling the bootloader\r\nbecause after backup restore the kernel could have\r\nchanged (replaced by an older kernel from the backup).\r\n\r\nMy personal interest is to try to clean up the currently\r\nsingle-big-and-fat \"recover\" workflow, see\r\nhttp://lists.relax-and-recover.org/pipermail/rear-users/2016-August/003418.html\r\n(excerpts)\r\n<pre>\r\n> ... by deactivating all entries\r\n> in disklayout.conf one can skip successfully that during\r\n> \"rear recover\" any partitions are deleted, created, and\r\n> that any filesystems are created.\r\n\r\nBut what does not work is that when I only deactivate\r\nthe 'disk' and 'part' entries but keep the 'fs'\r\nand 'swap' entries, then \"rear recover\" fails\r\n...\r\n\r\nCurrently \"rear recover\" is not prepared to skip only\r\ncertain parts of partitioning and making filesystems.\r\n\r\n... when I do partitioning plus creating filesystems\r\nplus mounting alltogether at /mnt/local manually,\r\nthen \"rear recover\" proceeeds for me\r\n... it restores the backup.\r\n\r\nAfter backup restore it fails when installing the\r\nbootloader (GRUB 2 in my case) so that\r\nI also need to do this stuff manually\r\n</pre>\r\n\r\nIt seems there are currently some \"obscure\"\r\ninterdependencies in the whole \"recover\" workflow\r\nso that it either works as a whole or not at all.\r\n\r\nI would like to investigate why that is and\r\nif I could clean it up so that separated parts\r\nof the \"recover\" workflow can run separated.\r\n\r\nA \"restoreonly\" workflow would be only a nice\r\nside-effect of such an overall clean-up.\r\n"},"comment":{"url":"https://api.github.com/repos/rear/rear/issues/comments/250422083","html_url":"https://github.com/rear/rear/issues/987#issuecomment-250422083","issue_url":"https://api.github.com/repos/rear/rear/issues/987","id":250422083,"user":{"login":"jsmeix","id":1788608,"avatar_url":"https://avatars.githubusercontent.com/u/1788608?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T09:54:32Z","updated_at":"2016-09-29T09:54:32Z","body":"Many thanks for your feedback!\r\nThis is certainly not a high-priority issue for me.\r\nAs time permits I will have a look if it can be done\r\nwith reasonable effort and without the risk to\r\ncause regressions elsewhere.\r\n"}}
{"actor":{"display_login":"jsmeix"}}