{"action":"closed","number":1071,"pull_request":{"url":"https://api.github.com/repos/rear/rear/pulls/1071","id":94173366,"html_url":"https://github.com/rear/rear/pull/1071","diff_url":"https://github.com/rear/rear/pull/1071.diff","patch_url":"https://github.com/rear/rear/pull/1071.patch","issue_url":"https://api.github.com/repos/rear/rear/issues/1071","number":1071,"state":"closed","locked":false,"title":"Initial support for multiple restore archives (issue1069)","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},"body":"See https://github.com/rear/rear/issues/1069\r\n\r\nI introduced the new RESTORE_ARCHIVES() array that\r\ncontains the restore input files for 400_restore_backup.sh\r\n\r\nI did major changes in 400_restore_backup.sh\r\nso that it now launches a separated restore subshell together\r\nwith the progress stuff for each element in RESTORE_ARCHIVES.\r\n\r\nTogether with changes in 070_set_backup_archive.sh\r\nit does now already restore real incremental backups\r\n(i.e. one full backup plus several incremental backups).\r\n\r\nFor example assume during several \"rear mkbackup\"\r\nthe backup directory contains:\r\n<pre>\r\n2016-11-15-1502-F.tar.gz\r\n2016-11-16-1057-I.tar.gz\r\n2016-11-16-1100-I.tar.gz\r\n2016-11-17-1324-F.tar.gz\r\n2016-11-17-1348-I.tar.gz\r\n2016-11-17-1354-I.tar.gz\r\n2016-11-17-1451-I.tar.gz\r\n</pre>\r\nthen \"rear recover\" will restore those backups:\r\n<pre>\r\n2016-11-17-1324-F.tar.gz\r\n2016-11-17-1348-I.tar.gz\r\n2016-11-17-1354-I.tar.gz\r\n2016-11-17-1451-I.tar.gz\r\n</pre>\r\ni.e. the latest full backup plus all incremental backups\r\nafterwards.\r\nThe \"rear recover\" output looks then like (excerpt):\r\n<pre>\r\nRestoring from '/tmp/rear.YKFtL4WiICTkRPF/outputfs/d108/2016-11-17-1324-F.tar.gz'...\r\nRestored 2426 MiB [avg 70992 KiB/sec] OK\r\nRestored 2426 MiB in 36 seconds [avg 69020 KiB/sec]\r\nRestoring from '/tmp/rear.YKFtL4WiICTkRPF/outputfs/d108/2016-11-17-1348-I.tar.gz'...\r\nRestored 11 MiB [avg 11288 KiB/sec] OK\r\nRestored 11 MiB in 2 seconds [avg 5644 KiB/sec]\r\nRestoring from '/tmp/rear.YKFtL4WiICTkRPF/outputfs/d108/2016-11-17-1354-I.tar.gz'...\r\nRestoring... OK\r\nRestoring from '/tmp/rear.YKFtL4WiICTkRPF/outputfs/d108/2016-11-17-1451-I.tar.gz'...\r\nRestoring... OK\r\nRestoring finished.\r\n</pre>\r\nNote that when the backup archive is very small\r\nthe current progress stuff in 400_restore_backup.sh\r\n(I did not change its behaviour) does not show\r\nany \"Restored ... MiB [avg ... KiB/sec]\" message\r\nbecause it waits initially one second and during that\r\none second the restore had already finished.\r\n","created_at":"2016-11-17T14:06:00Z","updated_at":"2016-11-21T12:15:29Z","closed_at":"2016-11-21T12:15:29Z","merged_at":"2016-11-21T12:15:29Z","merge_commit_sha":"8b8f377c1150f2452baf2397fa8319025e46561a","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/10","html_url":"https://github.com/rear/rear/milestones/Rear%20v1.20","labels_url":"https://api.github.com/repos/rear/rear/milestones/10/labels","id":1957573,"number":10,"title":"Rear v1.20","description":"","creator":{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":20,"state":"open","created_at":"2016-08-23T09:54:06Z","updated_at":"2016-11-21T12:15:29Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/rear/rear/pulls/1071/commits","review_comments_url":"https://api.github.com/repos/rear/rear/pulls/1071/comments","review_comment_url":"https://api.github.com/repos/rear/rear/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rear/rear/issues/1071/comments","statuses_url":"https://api.github.com/repos/rear/rear/statuses/95b5165f92b0e4796f3067304e36003c5a2209d7","head":{"label":"jsmeix:Support_multiple_restore_archives_issue1069","ref":"Support_multiple_restore_archives_issue1069","sha":"95b5165f92b0e4796f3067304e36003c5a2209d7","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},"repo":{"id":39959406,"name":"rear","full_name":"jsmeix/rear","owner":{"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},"private":false,"html_url":"https://github.com/jsmeix/rear","description":"Relax-and-Recover - Linux bare metal disaster recovery and system migration solution (cfr. mksysb, ignite)","fork":true,"url":"https://api.github.com/repos/jsmeix/rear","forks_url":"https://api.github.com/repos/jsmeix/rear/forks","keys_url":"https://api.github.com/repos/jsmeix/rear/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsmeix/rear/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsmeix/rear/teams","hooks_url":"https://api.github.com/repos/jsmeix/rear/hooks","issue_events_url":"https://api.github.com/repos/jsmeix/rear/issues/events{/number}","events_url":"https://api.github.com/repos/jsmeix/rear/events","assignees_url":"https://api.github.com/repos/jsmeix/rear/assignees{/user}","branches_url":"https://api.github.com/repos/jsmeix/rear/branches{/branch}","tags_url":"https://api.github.com/repos/jsmeix/rear/tags","blobs_url":"https://api.github.com/repos/jsmeix/rear/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsmeix/rear/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsmeix/rear/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsmeix/rear/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsmeix/rear/statuses/{sha}","languages_url":"https://api.github.com/repos/jsmeix/rear/languages","stargazers_url":"https://api.github.com/repos/jsmeix/rear/stargazers","contributors_url":"https://api.github.com/repos/jsmeix/rear/contributors","subscribers_url":"https://api.github.com/repos/jsmeix/rear/subscribers","subscription_url":"https://api.github.com/repos/jsmeix/rear/subscription","commits_url":"https://api.github.com/repos/jsmeix/rear/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsmeix/rear/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsmeix/rear/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsmeix/rear/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsmeix/rear/contents/{+path}","compare_url":"https://api.github.com/repos/jsmeix/rear/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsmeix/rear/merges","archive_url":"https://api.github.com/repos/jsmeix/rear/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsmeix/rear/downloads","issues_url":"https://api.github.com/repos/jsmeix/rear/issues{/number}","pulls_url":"https://api.github.com/repos/jsmeix/rear/pulls{/number}","milestones_url":"https://api.github.com/repos/jsmeix/rear/milestones{/number}","notifications_url":"https://api.github.com/repos/jsmeix/rear/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsmeix/rear/labels{/name}","releases_url":"https://api.github.com/repos/jsmeix/rear/releases{/id}","deployments_url":"https://api.github.com/repos/jsmeix/rear/deployments","created_at":"2015-07-30T16:02:09Z","updated_at":"2016-01-13T15:33:49Z","pushed_at":"2016-11-21T12:07:05Z","git_url":"git://github.com/jsmeix/rear.git","ssh_url":"git@github.com:jsmeix/rear.git","clone_url":"https://github.com/jsmeix/rear.git","svn_url":"https://github.com/jsmeix/rear","homepage":"http://relax-and-recover.org/","size":4539,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rear:master","ref":"master","sha":"a09b25558c4c8e6624c749f7fff93253f5f82b83","user":{"login":"rear","id":1389578,"avatar_url":"https://avatars.githubusercontent.com/u/1389578?v=3","gravatar_id":"","url":"https://api.github.com/users/rear","html_url":"https://github.com/rear","followers_url":"https://api.github.com/users/rear/followers","following_url":"https://api.github.com/users/rear/following{/other_user}","gists_url":"https://api.github.com/users/rear/gists{/gist_id}","starred_url":"https://api.github.com/users/rear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rear/subscriptions","organizations_url":"https://api.github.com/users/rear/orgs","repos_url":"https://api.github.com/users/rear/repos","events_url":"https://api.github.com/users/rear/events{/privacy}","received_events_url":"https://api.github.com/users/rear/received_events","type":"Organization","site_admin":false},"repo":{"id":3449791,"name":"rear","full_name":"rear/rear","owner":{"login":"rear","id":1389578,"avatar_url":"https://avatars.githubusercontent.com/u/1389578?v=3","gravatar_id":"","url":"https://api.github.com/users/rear","html_url":"https://github.com/rear","followers_url":"https://api.github.com/users/rear/followers","following_url":"https://api.github.com/users/rear/following{/other_user}","gists_url":"https://api.github.com/users/rear/gists{/gist_id}","starred_url":"https://api.github.com/users/rear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rear/subscriptions","organizations_url":"https://api.github.com/users/rear/orgs","repos_url":"https://api.github.com/users/rear/repos","events_url":"https://api.github.com/users/rear/events{/privacy}","received_events_url":"https://api.github.com/users/rear/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rear/rear","description":"Relax-and-Recover - Linux bare metal disaster recovery and system migration solution (cfr. mksysb, ignite)","fork":false,"url":"https://api.github.com/repos/rear/rear","forks_url":"https://api.github.com/repos/rear/rear/forks","keys_url":"https://api.github.com/repos/rear/rear/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rear/rear/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rear/rear/teams","hooks_url":"https://api.github.com/repos/rear/rear/hooks","issue_events_url":"https://api.github.com/repos/rear/rear/issues/events{/number}","events_url":"https://api.github.com/repos/rear/rear/events","assignees_url":"https://api.github.com/repos/rear/rear/assignees{/user}","branches_url":"https://api.github.com/repos/rear/rear/branches{/branch}","tags_url":"https://api.github.com/repos/rear/rear/tags","blobs_url":"https://api.github.com/repos/rear/rear/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rear/rear/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rear/rear/git/refs{/sha}","trees_url":"https://api.github.com/repos/rear/rear/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rear/rear/statuses/{sha}","languages_url":"https://api.github.com/repos/rear/rear/languages","stargazers_url":"https://api.github.com/repos/rear/rear/stargazers","contributors_url":"https://api.github.com/repos/rear/rear/contributors","subscribers_url":"https://api.github.com/repos/rear/rear/subscribers","subscription_url":"https://api.github.com/repos/rear/rear/subscription","commits_url":"https://api.github.com/repos/rear/rear/commits{/sha}","git_commits_url":"https://api.github.com/repos/rear/rear/git/commits{/sha}","comments_url":"https://api.github.com/repos/rear/rear/comments{/number}","issue_comment_url":"https://api.github.com/repos/rear/rear/issues/comments{/number}","contents_url":"https://api.github.com/repos/rear/rear/contents/{+path}","compare_url":"https://api.github.com/repos/rear/rear/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rear/rear/merges","archive_url":"https://api.github.com/repos/rear/rear/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rear/rear/downloads","issues_url":"https://api.github.com/repos/rear/rear/issues{/number}","pulls_url":"https://api.github.com/repos/rear/rear/pulls{/number}","milestones_url":"https://api.github.com/repos/rear/rear/milestones{/number}","notifications_url":"https://api.github.com/repos/rear/rear/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rear/rear/labels{/name}","releases_url":"https://api.github.com/repos/rear/rear/releases{/id}","deployments_url":"https://api.github.com/repos/rear/rear/deployments","created_at":"2012-02-15T13:44:45Z","updated_at":"2016-11-19T14:13:43Z","pushed_at":"2016-11-21T12:15:29Z","git_url":"git://github.com/rear/rear.git","ssh_url":"git@github.com:rear/rear.git","clone_url":"https://github.com/rear/rear.git","svn_url":"https://github.com/rear/rear","homepage":"http://relax-and-recover.org/","size":4541,"stargazers_count":175,"watchers_count":175,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"open_issues_count":63,"forks":98,"open_issues":63,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rear/rear/pulls/1071"},"html":{"href":"https://github.com/rear/rear/pull/1071"},"issue":{"href":"https://api.github.com/repos/rear/rear/issues/1071"},"comments":{"href":"https://api.github.com/repos/rear/rear/issues/1071/comments"},"review_comments":{"href":"https://api.github.com/repos/rear/rear/pulls/1071/comments"},"review_comment":{"href":"https://api.github.com/repos/rear/rear/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rear/rear/pulls/1071/commits"},"statuses":{"href":"https://api.github.com/repos/rear/rear/statuses/95b5165f92b0e4796f3067304e36003c5a2209d7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":5,"review_comments":0,"commits":9,"additions":457,"deletions":393,"changed_files":9}}
{"actor":{"display_login":"jsmeix"}}