{"action":"created","comment":{"url":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/comments/100352350","pull_request_review_id":21048846,"id":100352350,"diff_hunk":"@@ -97,9 +122,25 @@ $ ls ./telegrafbackup\n ```\n \n ### Restore\n+\n+#### Incremental Restore","path":"content/enterprise/v1.2/guides/backup-and-restore.md","position":83,"original_position":83,"commit_id":"0a6f0630b44de2b1402fa59ce0922d4b7e94e539","original_commit_id":"0a6f0630b44de2b1402fa59ce0922d4b7e94e539","user":{"login":"joelegasse","id":1391698,"avatar_url":"https://avatars.githubusercontent.com/u/1391698?v=3","gravatar_id":"","url":"https://api.github.com/users/joelegasse","html_url":"https://github.com/joelegasse","followers_url":"https://api.github.com/users/joelegasse/followers","following_url":"https://api.github.com/users/joelegasse/following{/other_user}","gists_url":"https://api.github.com/users/joelegasse/gists{/gist_id}","starred_url":"https://api.github.com/users/joelegasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelegasse/subscriptions","organizations_url":"https://api.github.com/users/joelegasse/orgs","repos_url":"https://api.github.com/users/joelegasse/repos","events_url":"https://api.github.com/users/joelegasse/events{/privacy}","received_events_url":"https://api.github.com/users/joelegasse/received_events","type":"User","site_admin":false},"body":"I wouldn't call this an \"incremental restore\". To me, that would imply that you could restore data that has changed since your last restore.","created_at":"2017-02-09T16:49:16Z","updated_at":"2017-02-09T16:51:01Z","html_url":"https://github.com/influxdata/docs.influxdata.com/pull/988#discussion_r100352350","pull_request_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/988","_links":{"self":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/comments/100352350"},"html":{"href":"https://github.com/influxdata/docs.influxdata.com/pull/988#discussion_r100352350"},"pull_request":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/988"}}},"pull_request":{"url":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/988","id":103809441,"html_url":"https://github.com/influxdata/docs.influxdata.com/pull/988","diff_url":"https://github.com/influxdata/docs.influxdata.com/pull/988.diff","patch_url":"https://github.com/influxdata/docs.influxdata.com/pull/988.patch","issue_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/988","number":988,"state":"open","locked":false,"title":"[Enterprise] Update backup restore documentation","user":{"login":"rkuchan","id":8750814,"avatar_url":"https://avatars.githubusercontent.com/u/8750814?v=3","gravatar_id":"","url":"https://api.github.com/users/rkuchan","html_url":"https://github.com/rkuchan","followers_url":"https://api.github.com/users/rkuchan/followers","following_url":"https://api.github.com/users/rkuchan/following{/other_user}","gists_url":"https://api.github.com/users/rkuchan/gists{/gist_id}","starred_url":"https://api.github.com/users/rkuchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkuchan/subscriptions","organizations_url":"https://api.github.com/users/rkuchan/orgs","repos_url":"https://api.github.com/users/rkuchan/repos","events_url":"https://api.github.com/users/rkuchan/events{/privacy}","received_events_url":"https://api.github.com/users/rkuchan/received_events","type":"User","site_admin":false},"body":"This updates the Enterprise docs with the changes in https://github.com/influxdata/plutonium/pull/826.\r\n\r\nMy current understanding is:\r\n\r\n* Full restores require the `-full` flag and the path to the full backup's manifest file\r\n* Incremental restores require the path to the incremental backup's directory\r\n\r\nI'm having trouble with both full restores and incremental restores:\r\n\r\n### Full restore\r\n\r\n```\r\n$ mkdir my-full-backup\r\n\r\n$ influxd-ctl backup -full my-full-backup\r\nBacking up meta data... Done. 481 bytes transferred\r\nBacking up node rk-restore-01:8088, db _internal, rp monitor, shard 1... Done. Backed up in 43.653316ms, 396800 bytes transferred\r\nBacking up node rk-restore-01:8088, db telegraf, rp autogen, shard 2... Done. Backed up in 28.324242ms, 182784 bytes transferred\r\nBacked up to my-full-backup in 73.695458ms, transferred 580065 bytes\r\n\r\n$ ls my-full-backup/\r\n20170130T195547Z.manifest\r\n20170130T195547Z.meta\r\n20170130T195547Z.s1.tar.gz\r\n20170130T195547Z.s2.tar.gz\r\n\r\n$ influxd-ctl restore -full my-full-backup/20170130T195547Z.manifest\r\nUsing manifest: my-full-backup/20170130T195547Z.manifest\r\nRestoring meta data... Error.\r\nrestore: operation exited with error: problem setting snapshot: cannot restore into non-empty cluster\r\n```\r\nI think this might be because I've written new data to InfluxDB from when I performed the backup.\r\n\r\n### Incremental restore\r\n\r\n```\r\n$ mkdir my-incremental-backuproot@rk-restore-01:~# influxd-ctl backup my-incremental-backup/\r\nBacking up meta data... Done. 481 bytes transferred\r\nBacking up node rk-restore-01:8088, db _internal, rp monitor, shard 1... Done. Backed up in 43.462854ms, 467456 bytes transferred\r\nBacking up node rk-restore-01:8088, db telegraf, rp autogen, shard 2... Done. Backed up in 28.220163ms, 192000 bytes transferred\r\nBacked up to my-incremental-backup/ in 73.292524ms, transferred 659937 bytes\r\n\r\n$ ls my-incremental-backup/\r\n20170130T200202Z.manifest\r\n20170130T200202Z.meta\r\n20170130T200202Z.s1.tar.gz\r\n20170130T200202Z.s2.tar.gz\r\n\r\n$ influxd-ctl restore my-incremental-backup/\r\nUsing backup directory: my-incremental-backup/\r\nUsing meta backup: 20170130T183945Z.meta\r\nrestore: open my-incremental-backup/20170130T183945Z.meta: no such file or directory\r\n```\r\n\r\n","created_at":"2017-01-30T20:05:08Z","updated_at":"2017-02-09T16:51:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a4b334411e62f0bb22ad2a9bb30ea3fe05f95f0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/988/commits","review_comments_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/988/comments","review_comment_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/988/comments","statuses_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/statuses/0a6f0630b44de2b1402fa59ce0922d4b7e94e539","head":{"label":"influxdata:rk-restore-fix","ref":"rk-restore-fix","sha":"0a6f0630b44de2b1402fa59ce0922d4b7e94e539","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":42206749,"name":"docs.influxdata.com","full_name":"influxdata/docs.influxdata.com","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/docs.influxdata.com","description":"New docs for InfluxData","fork":false,"url":"https://api.github.com/repos/influxdata/docs.influxdata.com","forks_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/forks","keys_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/teams","hooks_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/hooks","issue_events_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/events","assignees_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/tags","blobs_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/languages","stargazers_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/stargazers","contributors_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/contributors","subscribers_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/subscribers","subscription_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/subscription","commits_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/merges","archive_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/downloads","issues_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/deployments","created_at":"2015-09-09T21:50:49Z","updated_at":"2017-02-03T10:38:17Z","pushed_at":"2017-02-08T17:15:20Z","git_url":"git://github.com/influxdata/docs.influxdata.com.git","ssh_url":"git@github.com:influxdata/docs.influxdata.com.git","clone_url":"https://github.com/influxdata/docs.influxdata.com.git","svn_url":"https://github.com/influxdata/docs.influxdata.com","homepage":"https://docs.influxdata.com/","size":24244,"stargazers_count":37,"watchers_count":37,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":95,"forks":102,"open_issues":95,"watchers":37,"default_branch":"master"}},"base":{"label":"influxdata:master","ref":"master","sha":"86058069d84a5d4be7c443b817f701d41b59ff72","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":42206749,"name":"docs.influxdata.com","full_name":"influxdata/docs.influxdata.com","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/docs.influxdata.com","description":"New docs for InfluxData","fork":false,"url":"https://api.github.com/repos/influxdata/docs.influxdata.com","forks_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/forks","keys_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/teams","hooks_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/hooks","issue_events_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/events","assignees_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/tags","blobs_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/languages","stargazers_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/stargazers","contributors_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/contributors","subscribers_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/subscribers","subscription_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/subscription","commits_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/merges","archive_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/downloads","issues_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/deployments","created_at":"2015-09-09T21:50:49Z","updated_at":"2017-02-03T10:38:17Z","pushed_at":"2017-02-08T17:15:20Z","git_url":"git://github.com/influxdata/docs.influxdata.com.git","ssh_url":"git@github.com:influxdata/docs.influxdata.com.git","clone_url":"https://github.com/influxdata/docs.influxdata.com.git","svn_url":"https://github.com/influxdata/docs.influxdata.com","homepage":"https://docs.influxdata.com/","size":24244,"stargazers_count":37,"watchers_count":37,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":95,"forks":102,"open_issues":95,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/988"},"html":{"href":"https://github.com/influxdata/docs.influxdata.com/pull/988"},"issue":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/988"},"comments":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/988/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/988/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/pulls/988/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/docs.influxdata.com/statuses/0a6f0630b44de2b1402fa59ce0922d4b7e94e539"}}}}
{"actor":{"display_login":"joelegasse"}}