{"action":"created","comment":{"url":"https://api.github.com/repos/restic/restic/pulls/comments/136710522","pull_request_review_id":60290212,"id":136710522,"diff_hunk":"@@ -81,6 +82,7 @@ func init() {\n \tf.StringArrayVar(&backupOptions.Tags, \"tag\", nil, \"add a `tag` for the new snapshot (can be specified multiple times)\")\n \tf.StringVar(&backupOptions.Hostname, \"hostname\", \"\", \"set the `hostname` for the snapshot manually\")\n \tf.StringVar(&backupOptions.FilesFrom, \"files-from\", \"\", \"read the files to backup from file (can be combined with file args)\")\n+\tf.StringVar(&backupOptions.TimeStamp, \"time\", \"\", \"time of the backup (ex. 2012-11-01T22:08:41+00:00) (default: now)\")","path":"cmd/restic/cmd_backup.go","position":12,"original_position":12,"commit_id":"29735685e1c3955007daeb49571a052bae5b3253","original_commit_id":"29735685e1c3955007daeb49571a052bae5b3253","user":{"login":"fd0","id":123276,"avatar_url":"https://avatars1.githubusercontent.com/u/123276?v=4","gravatar_id":"","url":"https://api.github.com/users/fd0","html_url":"https://github.com/fd0","followers_url":"https://api.github.com/users/fd0/followers","following_url":"https://api.github.com/users/fd0/following{/other_user}","gists_url":"https://api.github.com/users/fd0/gists{/gist_id}","starred_url":"https://api.github.com/users/fd0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fd0/subscriptions","organizations_url":"https://api.github.com/users/fd0/orgs","repos_url":"https://api.github.com/users/fd0/repos","events_url":"https://api.github.com/users/fd0/events{/privacy}","received_events_url":"https://api.github.com/users/fd0/received_events","type":"User","site_admin":false},"body":"I'm not sure we should use this rather complicated format. What about using the time format that is used in the `snapshots` command? It would require proper quoting (since there's a space in it) but is much easier to get right.\r\n\r\nhttps://github.com/restic/restic/blob/a3f6bf3e5a07949e0a30f1fd05c6d75affe51c08/cmd/restic/table.go#L46","created_at":"2017-09-03T07:36:36Z","updated_at":"2017-09-03T07:40:35Z","html_url":"https://github.com/restic/restic/pull/1195#discussion_r136710522","pull_request_url":"https://api.github.com/repos/restic/restic/pulls/1195","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/restic/restic/pulls/comments/136710522"},"html":{"href":"https://github.com/restic/restic/pull/1195#discussion_r136710522"},"pull_request":{"href":"https://api.github.com/repos/restic/restic/pulls/1195"}}},"pull_request":{"url":"https://api.github.com/repos/restic/restic/pulls/1195","id":138237239,"html_url":"https://github.com/restic/restic/pull/1195","diff_url":"https://github.com/restic/restic/pull/1195.diff","patch_url":"https://github.com/restic/restic/pull/1195.patch","issue_url":"https://api.github.com/repos/restic/restic/issues/1195","number":1195,"state":"open","locked":false,"title":"new sub-option for backup: time","user":{"login":"mungomat","id":350721,"avatar_url":"https://avatars2.githubusercontent.com/u/350721?v=4","gravatar_id":"","url":"https://api.github.com/users/mungomat","html_url":"https://github.com/mungomat","followers_url":"https://api.github.com/users/mungomat/followers","following_url":"https://api.github.com/users/mungomat/following{/other_user}","gists_url":"https://api.github.com/users/mungomat/gists{/gist_id}","starred_url":"https://api.github.com/users/mungomat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mungomat/subscriptions","organizations_url":"https://api.github.com/users/mungomat/orgs","repos_url":"https://api.github.com/users/mungomat/repos","events_url":"https://api.github.com/users/mungomat/events{/privacy}","received_events_url":"https://api.github.com/users/mungomat/received_events","type":"User","site_admin":false},"body":"New option to specify the timestamp for a backup - depends on the bugfix_bucker_always\r\n","created_at":"2017-08-29T17:14:02Z","updated_at":"2017-09-03T07:40:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9aaa35b4e01c4b048c725c8083340119fe3b0b9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/restic/restic/pulls/1195/commits","review_comments_url":"https://api.github.com/repos/restic/restic/pulls/1195/comments","review_comment_url":"https://api.github.com/repos/restic/restic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/restic/restic/issues/1195/comments","statuses_url":"https://api.github.com/repos/restic/restic/statuses/29735685e1c3955007daeb49571a052bae5b3253","head":{"label":"mungomat:backup_time","ref":"backup_time","sha":"29735685e1c3955007daeb49571a052bae5b3253","user":{"login":"mungomat","id":350721,"avatar_url":"https://avatars2.githubusercontent.com/u/350721?v=4","gravatar_id":"","url":"https://api.github.com/users/mungomat","html_url":"https://github.com/mungomat","followers_url":"https://api.github.com/users/mungomat/followers","following_url":"https://api.github.com/users/mungomat/following{/other_user}","gists_url":"https://api.github.com/users/mungomat/gists{/gist_id}","starred_url":"https://api.github.com/users/mungomat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mungomat/subscriptions","organizations_url":"https://api.github.com/users/mungomat/orgs","repos_url":"https://api.github.com/users/mungomat/repos","events_url":"https://api.github.com/users/mungomat/events{/privacy}","received_events_url":"https://api.github.com/users/mungomat/received_events","type":"User","site_admin":false},"repo":{"id":101777715,"name":"restic","full_name":"mungomat/restic","owner":{"login":"mungomat","id":350721,"avatar_url":"https://avatars2.githubusercontent.com/u/350721?v=4","gravatar_id":"","url":"https://api.github.com/users/mungomat","html_url":"https://github.com/mungomat","followers_url":"https://api.github.com/users/mungomat/followers","following_url":"https://api.github.com/users/mungomat/following{/other_user}","gists_url":"https://api.github.com/users/mungomat/gists{/gist_id}","starred_url":"https://api.github.com/users/mungomat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mungomat/subscriptions","organizations_url":"https://api.github.com/users/mungomat/orgs","repos_url":"https://api.github.com/users/mungomat/repos","events_url":"https://api.github.com/users/mungomat/events{/privacy}","received_events_url":"https://api.github.com/users/mungomat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mungomat/restic","description":"Fast, secure, efficient backup program","fork":true,"url":"https://api.github.com/repos/mungomat/restic","forks_url":"https://api.github.com/repos/mungomat/restic/forks","keys_url":"https://api.github.com/repos/mungomat/restic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mungomat/restic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mungomat/restic/teams","hooks_url":"https://api.github.com/repos/mungomat/restic/hooks","issue_events_url":"https://api.github.com/repos/mungomat/restic/issues/events{/number}","events_url":"https://api.github.com/repos/mungomat/restic/events","assignees_url":"https://api.github.com/repos/mungomat/restic/assignees{/user}","branches_url":"https://api.github.com/repos/mungomat/restic/branches{/branch}","tags_url":"https://api.github.com/repos/mungomat/restic/tags","blobs_url":"https://api.github.com/repos/mungomat/restic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mungomat/restic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mungomat/restic/git/refs{/sha}","trees_url":"https://api.github.com/repos/mungomat/restic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mungomat/restic/statuses/{sha}","languages_url":"https://api.github.com/repos/mungomat/restic/languages","stargazers_url":"https://api.github.com/repos/mungomat/restic/stargazers","contributors_url":"https://api.github.com/repos/mungomat/restic/contributors","subscribers_url":"https://api.github.com/repos/mungomat/restic/subscribers","subscription_url":"https://api.github.com/repos/mungomat/restic/subscription","commits_url":"https://api.github.com/repos/mungomat/restic/commits{/sha}","git_commits_url":"https://api.github.com/repos/mungomat/restic/git/commits{/sha}","comments_url":"https://api.github.com/repos/mungomat/restic/comments{/number}","issue_comment_url":"https://api.github.com/repos/mungomat/restic/issues/comments{/number}","contents_url":"https://api.github.com/repos/mungomat/restic/contents/{+path}","compare_url":"https://api.github.com/repos/mungomat/restic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mungomat/restic/merges","archive_url":"https://api.github.com/repos/mungomat/restic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mungomat/restic/downloads","issues_url":"https://api.github.com/repos/mungomat/restic/issues{/number}","pulls_url":"https://api.github.com/repos/mungomat/restic/pulls{/number}","milestones_url":"https://api.github.com/repos/mungomat/restic/milestones{/number}","notifications_url":"https://api.github.com/repos/mungomat/restic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mungomat/restic/labels{/name}","releases_url":"https://api.github.com/repos/mungomat/restic/releases{/id}","deployments_url":"https://api.github.com/repos/mungomat/restic/deployments","created_at":"2017-08-29T15:37:59Z","updated_at":"2017-08-29T15:38:01Z","pushed_at":"2017-09-02T19:25:31Z","git_url":"git://github.com/mungomat/restic.git","ssh_url":"git@github.com:mungomat/restic.git","clone_url":"https://github.com/mungomat/restic.git","svn_url":"https://github.com/mungomat/restic","homepage":"https://restic.github.io/","size":28727,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"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":"a3f6bf3e5a07949e0a30f1fd05c6d75affe51c08","user":{"login":"restic","id":10073512,"avatar_url":"https://avatars3.githubusercontent.com/u/10073512?v=4","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":19205896,"name":"restic","full_name":"restic/restic","owner":{"login":"restic","id":10073512,"avatar_url":"https://avatars3.githubusercontent.com/u/10073512?v=4","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","description":"Fast, secure, efficient backup program","fork":false,"url":"https://api.github.com/repos/restic/restic","forks_url":"https://api.github.com/repos/restic/restic/forks","keys_url":"https://api.github.com/repos/restic/restic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/restic/restic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/restic/restic/teams","hooks_url":"https://api.github.com/repos/restic/restic/hooks","issue_events_url":"https://api.github.com/repos/restic/restic/issues/events{/number}","events_url":"https://api.github.com/repos/restic/restic/events","assignees_url":"https://api.github.com/repos/restic/restic/assignees{/user}","branches_url":"https://api.github.com/repos/restic/restic/branches{/branch}","tags_url":"https://api.github.com/repos/restic/restic/tags","blobs_url":"https://api.github.com/repos/restic/restic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/restic/restic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/restic/restic/git/refs{/sha}","trees_url":"https://api.github.com/repos/restic/restic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/restic/restic/statuses/{sha}","languages_url":"https://api.github.com/repos/restic/restic/languages","stargazers_url":"https://api.github.com/repos/restic/restic/stargazers","contributors_url":"https://api.github.com/repos/restic/restic/contributors","subscribers_url":"https://api.github.com/repos/restic/restic/subscribers","subscription_url":"https://api.github.com/repos/restic/restic/subscription","commits_url":"https://api.github.com/repos/restic/restic/commits{/sha}","git_commits_url":"https://api.github.com/repos/restic/restic/git/commits{/sha}","comments_url":"https://api.github.com/repos/restic/restic/comments{/number}","issue_comment_url":"https://api.github.com/repos/restic/restic/issues/comments{/number}","contents_url":"https://api.github.com/repos/restic/restic/contents/{+path}","compare_url":"https://api.github.com/repos/restic/restic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/restic/restic/merges","archive_url":"https://api.github.com/repos/restic/restic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/restic/restic/downloads","issues_url":"https://api.github.com/repos/restic/restic/issues{/number}","pulls_url":"https://api.github.com/repos/restic/restic/pulls{/number}","milestones_url":"https://api.github.com/repos/restic/restic/milestones{/number}","notifications_url":"https://api.github.com/repos/restic/restic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/restic/restic/labels{/name}","releases_url":"https://api.github.com/repos/restic/restic/releases{/id}","deployments_url":"https://api.github.com/repos/restic/restic/deployments","created_at":"2014-04-27T14:07:58Z","updated_at":"2017-09-02T23:46:22Z","pushed_at":"2017-09-02T19:25:32Z","git_url":"git://github.com/restic/restic.git","ssh_url":"git@github.com:restic/restic.git","clone_url":"https://github.com/restic/restic.git","svn_url":"https://github.com/restic/restic","homepage":"https://restic.github.io/","size":28775,"stargazers_count":2417,"watchers_count":2417,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":201,"mirror_url":null,"open_issues_count":183,"forks":201,"open_issues":183,"watchers":2417,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/restic/restic/pulls/1195"},"html":{"href":"https://github.com/restic/restic/pull/1195"},"issue":{"href":"https://api.github.com/repos/restic/restic/issues/1195"},"comments":{"href":"https://api.github.com/repos/restic/restic/issues/1195/comments"},"review_comments":{"href":"https://api.github.com/repos/restic/restic/pulls/1195/comments"},"review_comment":{"href":"https://api.github.com/repos/restic/restic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/restic/restic/pulls/1195/commits"},"statuses":{"href":"https://api.github.com/repos/restic/restic/statuses/29735685e1c3955007daeb49571a052bae5b3253"}},"author_association":"NONE"}}
{"actor":{"display_login":"fd0"}}