{"action":"created","issue":{"url":"https://api.github.com/repos/restic/restic/issues/1380","repository_url":"https://api.github.com/repos/restic/restic","labels_url":"https://api.github.com/repos/restic/restic/issues/1380/labels{/name}","comments_url":"https://api.github.com/repos/restic/restic/issues/1380/comments","events_url":"https://api.github.com/repos/restic/restic/issues/1380/events","html_url":"https://github.com/restic/restic/issues/1380","id":267656626,"number":1380,"title":"restic tries to backup its own temp files","user":{"login":"dirk777","id":17700698,"avatar_url":"https://avatars2.githubusercontent.com/u/17700698?v=4","gravatar_id":"","url":"https://api.github.com/users/dirk777","html_url":"https://github.com/dirk777","followers_url":"https://api.github.com/users/dirk777/followers","following_url":"https://api.github.com/users/dirk777/following{/other_user}","gists_url":"https://api.github.com/users/dirk777/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk777/subscriptions","organizations_url":"https://api.github.com/users/dirk777/orgs","repos_url":"https://api.github.com/users/dirk777/repos","events_url":"https://api.github.com/users/dirk777/events{/privacy}","received_events_url":"https://api.github.com/users/dirk777/received_events","type":"User","site_admin":false},"labels":[{"id":95485885,"url":"https://api.github.com/repos/restic/restic/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-23T12:54:29Z","updated_at":"2018-03-25T09:56:57Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nNOTE: Not filling out the issue template needs a good reason, otherwise it may\r\ntake a lot longer to find the problem! Please take the time to help us\r\ndebugging the problem by collecting information, even if it seems irrelevant to\r\nyou. Thanks!\r\n\r\nIf you have a question, the forum at https://discourse.restic.net is a better place.\r\nPlease do not create issues for usage or documentation questions! We're using\r\nthe GitHub issue tracker mainly for tracking bugs and feature requests.\r\n-->\r\n\r\n## Output of `restic version`\r\n\r\nrestic 0.7.2\r\ncompiled with go1.8 on windows/amd64\r\n\r\n## How did you run restic exactly?\r\n\r\nrestic -r F:\\Backup backup C:\\Users\\USER\r\n<!--\r\nThis section should include at least:\r\n\r\n * The complete command line and any environment variables you used to\r\n   configure restic's backend access. Make sure to replace sensitive values!\r\n\r\n * The output of the commands, what restic prints gives may give us much\r\n   information to diagnose the problem!\r\n-->\r\n\r\n\r\n## What backend/server/service did you use?\r\n\r\nLocal\r\n\r\n## Expected behavior\r\n\r\nrestic should ignore its own temp files during backup\r\n\r\n<!--\r\nDescribe what you'd like restic to do differently.\r\n-->\r\n\r\n## Actual behavior\r\n\r\nrestic reports\r\n\r\n> error while saving data to the repo: remove C:\\Users\\USER\\AppData\\Local\\Temp\\restic-temp-pack-212416791: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.\r\n\r\n<!--\r\nIn this section, please try to concentrate on observations, so only describe\r\nwhat you observed directly.\r\n-->\r\n\r\n## Steps to reproduce the behavior\r\n\r\nrestic -r F:\\Backup backup C:\\Users\\USER\r\n<!--\r\nThe more time you spend describing an easy way to reproduce the behavior (if\r\nthis is possible), the easier it is for the project developers to fix it!\r\n-->\r\n\r\n\r\n## Do you have any idea what may have caused this?\r\n\r\nrestic tries to backup its own temp file while restic of course is removing this file because it is temporary\r\n\r\n## Do you have an idea how to solve the issue?\r\n\r\nrestic should exclude its own temp files or temp directory from backup"},"comment":{"url":"https://api.github.com/repos/restic/restic/issues/comments/375958395","html_url":"https://github.com/restic/restic/issues/1380#issuecomment-375958395","issue_url":"https://api.github.com/repos/restic/restic/issues/1380","id":375958395,"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},"created_at":"2018-03-25T09:56:57Z","updated_at":"2018-03-25T09:56:57Z","author_association":"OWNER","body":"The user reported that they used restic 0.5.0, which still had this issue on Linux."}}
{"actor":{"display_login":"fd0"}}