{"action":"created","issue":{"url":"https://api.github.com/repos/restic/restic/issues/1984","repository_url":"https://api.github.com/repos/restic/restic","labels_url":"https://api.github.com/repos/restic/restic/issues/1984/labels{/name}","comments_url":"https://api.github.com/repos/restic/restic/issues/1984/comments","events_url":"https://api.github.com/repos/restic/restic/issues/1984/events","html_url":"https://github.com/restic/restic/issues/1984","id":357373357,"node_id":"MDU6SXNzdWUzNTczNzMzNTc=","number":1984,"title":"Allow setting local host name by an environment variable.","user":{"login":"alexeymuranov","id":712698,"node_id":"MDQ6VXNlcjcxMjY5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/712698?v=4","gravatar_id":"","url":"https://api.github.com/users/alexeymuranov","html_url":"https://github.com/alexeymuranov","followers_url":"https://api.github.com/users/alexeymuranov/followers","following_url":"https://api.github.com/users/alexeymuranov/following{/other_user}","gists_url":"https://api.github.com/users/alexeymuranov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeymuranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeymuranov/subscriptions","organizations_url":"https://api.github.com/users/alexeymuranov/orgs","repos_url":"https://api.github.com/users/alexeymuranov/repos","events_url":"https://api.github.com/users/alexeymuranov/events{/privacy}","received_events_url":"https://api.github.com/users/alexeymuranov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-05T19:36:36Z","updated_at":"2018-09-06T07:10:32Z","closed_at":"2018-09-06T07:10:32Z","author_association":"NONE","body":"<!--\r\n\r\nWelcome! - We kindly ask that you:\r\n\r\n  1. Fill out the issue template below - not doing so needs a good reason.\r\n  2. Use the forum if you have a question rather than a bug or feature request.\r\n\r\nThe forum is at: https://forum.restic.net\r\n\r\nThe forum is a better place for questions about restic or general suggestions\r\nand topics, e.g. usage or documentation questions! This issue tracker is mainly\r\nfor tracking bugs and feature requests directly relating to the development of\r\nthe software itself, rather than the project.\r\n\r\nThanks for understanding, and for contributing to the project!\r\n\r\n-->\r\n\r\n\r\nOutput of `restic version`\r\n--------------------------\r\n\r\n<!--\r\nPlease add the version of restic you're currently using here, this helps us\r\nlater to see what has changed in restic when we revisit this issue after some\r\ntime.\r\n-->\r\n `restic 0.9.2 compiled with go1.11 on linux/amd64`\r\n\r\nWhat should restic do differently? Which functionality do you think we should add?\r\n----------------------------------------------------------------------------------\r\n\r\n<!--\r\nPlease describe the feature you'd like us to add here.\r\n-->\r\nWhen the host name of my machine changes, making a new backup takes almost as much time as if it was the very first backup (though deduplication still works).  I think `restic` should allow setting host name with an environment variable, for example, `RESTICLOCALHOSTNAME`, by analogy with [`UNISONLOCALHOSTNAME`](http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#archives) for Unison.\r\n\r\nWhat are you trying to do?\r\n--------------------------\r\n\r\n<!--\r\nThis section should contain a brief description what you're trying to do, which\r\nwould be possible after implementing the new feature.\r\n-->\r\n\r\nI would like to be able to make \"incremental\" backups quickly even when the local host name of my machine changes.\r\n\r\nDid restic help you or made you happy in any way?\r\n-------------------------------------------------\r\n\r\n<!--\r\nAnswering this question is not required, but if you have anything positive to share, please do so here!\r\nSometimes we get tired of reading bug reports all day and a little positive end note does wonders.\r\nIdea by Joey Hess, https://joeyh.name/blog/entry/two_holiday_stories/\r\n-->\r\nYes, I use it for backing up my personal files."},"comment":{"url":"https://api.github.com/repos/restic/restic/issues/comments/418989077","html_url":"https://github.com/restic/restic/issues/1984#issuecomment-418989077","issue_url":"https://api.github.com/repos/restic/restic/issues/1984","id":418989077,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODk4OTA3Nw==","user":{"login":"fd0","id":123276,"node_id":"MDQ6VXNlcjEyMzI3Ng==","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},"created_at":"2018-09-06T07:10:32Z","updated_at":"2018-09-06T07:10:32Z","author_association":"MEMBER","body":"Cool, then I'll close this for now. I'd like to avoid adding more environment variables, at least unless we have a consistent story for configuring restic. Thanks a lot for taking the time to file this issue though! :)"}}
{"actor":{"display_login":"fd0"}}