{"action":"created","comment":{"url":"https://api.github.com/repos/restic/restic.github.io/pulls/comments/30265398","id":30265398,"diff_hunk":"@@ -60,50 +62,60 @@ First, we need to create a \"repository\". This is the place where your backups wi\n \n In order to create a repository at `/tmp/backup`, run the following command and enter the same password twice:\n \n-    $ restic init --repository /tmp/backup init\n-    enter password for new backend:\n-    enter password again:\n-    created restic backend 085b3c76b9 at /tmp/backup\n-    Please note that knowledge of your password is required to access the repository.\n-    Losing your password means that your data is irrecoverably lost.\n+{% highlight console %}\n+$ restic init --repository /tmp/backup init\n+ enter password for new backend:\n+ enter password again:\n+ created restic backend 085b3c76b9 at /tmp/backup\n+ Please note that knowledge of your password is required to access the repository.\n+ Losing your password means that your data is irrecoverably lost.\n+{% endhighlight %}\n \n Remembering your password is important! If you lose it, you won't be able to access data stored in the repository.\n \n Now we're ready to backup some data. Run the following command and enter the repository password you chose above again:\n \n-    $ restic -r /tmp/backup backup ~/work\n-    enter password for repository:\n-    scan [/home/user/work]\n-    scanned 764 directories, 1816 files in 0:00\n-    [0:29] 100.00%  54.732 MiB/s  1.582 GiB / 1.582 GiB  2580 / 2580 items  0 errors  ETA 0:00\n-    duration: 0:29, 54.47MiB/s\n-    snapshot 40dc1520 saved\n+{% highlight console %}\n+$ restic -r /tmp/backup backup ~/work\n+ enter password for repository:","path":"index.md","position":117,"original_position":117,"commit_id":"4aadb3260c1b25bddbb03a736d71dd0cacd31e3b","original_commit_id":"4aadb3260c1b25bddbb03a736d71dd0cacd31e3b","user":{"login":"fw42","id":2072686,"avatar_url":"https://avatars.githubusercontent.com/u/2072686?v=3","gravatar_id":"","url":"https://api.github.com/users/fw42","html_url":"https://github.com/fw42","followers_url":"https://api.github.com/users/fw42/followers","following_url":"https://api.github.com/users/fw42/following{/other_user}","gists_url":"https://api.github.com/users/fw42/gists{/gist_id}","starred_url":"https://api.github.com/users/fw42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fw42/subscriptions","organizations_url":"https://api.github.com/users/fw42/orgs","repos_url":"https://api.github.com/users/fw42/repos","events_url":"https://api.github.com/users/fw42/events{/privacy}","received_events_url":"https://api.github.com/users/fw42/received_events","type":"User","site_admin":false},"body":"same here re: space","created_at":"2015-05-13T19:14:35Z","updated_at":"2015-05-13T19:14:35Z","html_url":"https://github.com/restic/restic.github.io/pull/2#discussion_r30265398","pull_request_url":"https://api.github.com/repos/restic/restic.github.io/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/restic/restic.github.io/pulls/comments/30265398"},"html":{"href":"https://github.com/restic/restic.github.io/pull/2#discussion_r30265398"},"pull_request":{"href":"https://api.github.com/repos/restic/restic.github.io/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/restic/restic.github.io/pulls/2","id":35360384,"html_url":"https://github.com/restic/restic.github.io/pull/2","diff_url":"https://github.com/restic/restic.github.io/pull/2.diff","patch_url":"https://github.com/restic/restic.github.io/pull/2.patch","issue_url":"https://api.github.com/repos/restic/restic.github.io/issues/2","number":2,"state":"open","locked":false,"title":"Some minor edits to the website","user":{"login":"heipei","id":6072,"avatar_url":"https://avatars.githubusercontent.com/u/6072?v=3","gravatar_id":"","url":"https://api.github.com/users/heipei","html_url":"https://github.com/heipei","followers_url":"https://api.github.com/users/heipei/followers","following_url":"https://api.github.com/users/heipei/following{/other_user}","gists_url":"https://api.github.com/users/heipei/gists{/gist_id}","starred_url":"https://api.github.com/users/heipei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heipei/subscriptions","organizations_url":"https://api.github.com/users/heipei/orgs","repos_url":"https://api.github.com/users/heipei/repos","events_url":"https://api.github.com/users/heipei/events{/privacy}","received_events_url":"https://api.github.com/users/heipei/received_events","type":"User","site_admin":false},"body":"See description of patches.","created_at":"2015-05-13T19:12:05Z","updated_at":"2015-05-13T19:14:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02d42f455d38cf428c15e1629223f789164c532f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/restic/restic.github.io/pulls/2/commits","review_comments_url":"https://api.github.com/repos/restic/restic.github.io/pulls/2/comments","review_comment_url":"https://api.github.com/repos/restic/restic.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/restic/restic.github.io/issues/2/comments","statuses_url":"https://api.github.com/repos/restic/restic.github.io/statuses/4aadb3260c1b25bddbb03a736d71dd0cacd31e3b","head":{"label":"heipei:master","ref":"master","sha":"4aadb3260c1b25bddbb03a736d71dd0cacd31e3b","user":{"login":"heipei","id":6072,"avatar_url":"https://avatars.githubusercontent.com/u/6072?v=3","gravatar_id":"","url":"https://api.github.com/users/heipei","html_url":"https://github.com/heipei","followers_url":"https://api.github.com/users/heipei/followers","following_url":"https://api.github.com/users/heipei/following{/other_user}","gists_url":"https://api.github.com/users/heipei/gists{/gist_id}","starred_url":"https://api.github.com/users/heipei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heipei/subscriptions","organizations_url":"https://api.github.com/users/heipei/orgs","repos_url":"https://api.github.com/users/heipei/repos","events_url":"https://api.github.com/users/heipei/events{/privacy}","received_events_url":"https://api.github.com/users/heipei/received_events","type":"User","site_admin":false},"repo":{"id":35568990,"name":"restic.github.io","full_name":"heipei/restic.github.io","owner":{"login":"heipei","id":6072,"avatar_url":"https://avatars.githubusercontent.com/u/6072?v=3","gravatar_id":"","url":"https://api.github.com/users/heipei","html_url":"https://github.com/heipei","followers_url":"https://api.github.com/users/heipei/followers","following_url":"https://api.github.com/users/heipei/following{/other_user}","gists_url":"https://api.github.com/users/heipei/gists{/gist_id}","starred_url":"https://api.github.com/users/heipei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heipei/subscriptions","organizations_url":"https://api.github.com/users/heipei/orgs","repos_url":"https://api.github.com/users/heipei/repos","events_url":"https://api.github.com/users/heipei/events{/privacy}","received_events_url":"https://api.github.com/users/heipei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heipei/restic.github.io","description":"restic.github.io website","fork":true,"url":"https://api.github.com/repos/heipei/restic.github.io","forks_url":"https://api.github.com/repos/heipei/restic.github.io/forks","keys_url":"https://api.github.com/repos/heipei/restic.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heipei/restic.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heipei/restic.github.io/teams","hooks_url":"https://api.github.com/repos/heipei/restic.github.io/hooks","issue_events_url":"https://api.github.com/repos/heipei/restic.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/heipei/restic.github.io/events","assignees_url":"https://api.github.com/repos/heipei/restic.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/heipei/restic.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/heipei/restic.github.io/tags","blobs_url":"https://api.github.com/repos/heipei/restic.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heipei/restic.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heipei/restic.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/heipei/restic.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heipei/restic.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/heipei/restic.github.io/languages","stargazers_url":"https://api.github.com/repos/heipei/restic.github.io/stargazers","contributors_url":"https://api.github.com/repos/heipei/restic.github.io/contributors","subscribers_url":"https://api.github.com/repos/heipei/restic.github.io/subscribers","subscription_url":"https://api.github.com/repos/heipei/restic.github.io/subscription","commits_url":"https://api.github.com/repos/heipei/restic.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/heipei/restic.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/heipei/restic.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/heipei/restic.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/heipei/restic.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/heipei/restic.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heipei/restic.github.io/merges","archive_url":"https://api.github.com/repos/heipei/restic.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heipei/restic.github.io/downloads","issues_url":"https://api.github.com/repos/heipei/restic.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/heipei/restic.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/heipei/restic.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/heipei/restic.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heipei/restic.github.io/labels{/name}","releases_url":"https://api.github.com/repos/heipei/restic.github.io/releases{/id}","created_at":"2015-05-13T19:08:44Z","updated_at":"2015-05-13T19:08:45Z","pushed_at":"2015-05-13T19:11:14Z","git_url":"git://github.com/heipei/restic.github.io.git","ssh_url":"git@github.com:heipei/restic.github.io.git","clone_url":"https://github.com/heipei/restic.github.io.git","svn_url":"https://github.com/heipei/restic.github.io","homepage":null,"size":100,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"restic:master","ref":"master","sha":"5bba993585a2d1be6d41ec074f33df296a72225b","user":{"login":"restic","id":10073512,"avatar_url":"https://avatars.githubusercontent.com/u/10073512?v=3","gravatar_id":"","url":"https://api.github.com/users/restic","html_url":"https://github.com/restic","followers_url":"https://api.github.com/users/restic/followers","following_url":"https://api.github.com/users/restic/following{/other_user}","gists_url":"https://api.github.com/users/restic/gists{/gist_id}","starred_url":"https://api.github.com/users/restic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restic/subscriptions","organizations_url":"https://api.github.com/users/restic/orgs","repos_url":"https://api.github.com/users/restic/repos","events_url":"https://api.github.com/users/restic/events{/privacy}","received_events_url":"https://api.github.com/users/restic/received_events","type":"Organization","site_admin":false},"repo":{"id":31122272,"name":"restic.github.io","full_name":"restic/restic.github.io","owner":{"login":"restic","id":10073512,"avatar_url":"https://avatars.githubusercontent.com/u/10073512?v=3","gravatar_id":"","url":"https://api.github.com/users/restic","html_url":"https://github.com/restic","followers_url":"https://api.github.com/users/restic/followers","following_url":"https://api.github.com/users/restic/following{/other_user}","gists_url":"https://api.github.com/users/restic/gists{/gist_id}","starred_url":"https://api.github.com/users/restic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restic/subscriptions","organizations_url":"https://api.github.com/users/restic/orgs","repos_url":"https://api.github.com/users/restic/repos","events_url":"https://api.github.com/users/restic/events{/privacy}","received_events_url":"https://api.github.com/users/restic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/restic/restic.github.io","description":"restic.github.io website","fork":false,"url":"https://api.github.com/repos/restic/restic.github.io","forks_url":"https://api.github.com/repos/restic/restic.github.io/forks","keys_url":"https://api.github.com/repos/restic/restic.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/restic/restic.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/restic/restic.github.io/teams","hooks_url":"https://api.github.com/repos/restic/restic.github.io/hooks","issue_events_url":"https://api.github.com/repos/restic/restic.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/restic/restic.github.io/events","assignees_url":"https://api.github.com/repos/restic/restic.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/restic/restic.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/restic/restic.github.io/tags","blobs_url":"https://api.github.com/repos/restic/restic.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/restic/restic.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/restic/restic.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/restic/restic.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/restic/restic.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/restic/restic.github.io/languages","stargazers_url":"https://api.github.com/repos/restic/restic.github.io/stargazers","contributors_url":"https://api.github.com/repos/restic/restic.github.io/contributors","subscribers_url":"https://api.github.com/repos/restic/restic.github.io/subscribers","subscription_url":"https://api.github.com/repos/restic/restic.github.io/subscription","commits_url":"https://api.github.com/repos/restic/restic.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/restic/restic.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/restic/restic.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/restic/restic.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/restic/restic.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/restic/restic.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/restic/restic.github.io/merges","archive_url":"https://api.github.com/repos/restic/restic.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/restic/restic.github.io/downloads","issues_url":"https://api.github.com/repos/restic/restic.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/restic/restic.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/restic/restic.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/restic/restic.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/restic/restic.github.io/labels{/name}","releases_url":"https://api.github.com/repos/restic/restic.github.io/releases{/id}","created_at":"2015-02-21T10:32:51Z","updated_at":"2015-05-08T20:24:43Z","pushed_at":"2015-05-13T19:12:05Z","git_url":"git://github.com/restic/restic.github.io.git","ssh_url":"git@github.com:restic/restic.github.io.git","clone_url":"https://github.com/restic/restic.github.io.git","svn_url":"https://github.com/restic/restic.github.io","homepage":null,"size":100,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/restic/restic.github.io/pulls/2"},"html":{"href":"https://github.com/restic/restic.github.io/pull/2"},"issue":{"href":"https://api.github.com/repos/restic/restic.github.io/issues/2"},"comments":{"href":"https://api.github.com/repos/restic/restic.github.io/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/restic/restic.github.io/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/restic/restic.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/restic/restic.github.io/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/restic/restic.github.io/statuses/4aadb3260c1b25bddbb03a736d71dd0cacd31e3b"}}}}