{"action":"closed","issue":{"url":"https://api.github.com/repos/pgmasters/backrest/issues/144","labels_url":"https://api.github.com/repos/pgmasters/backrest/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/pgmasters/backrest/issues/144/comments","events_url":"https://api.github.com/repos/pgmasters/backrest/issues/144/events","html_url":"https://github.com/pgmasters/backrest/issues/144","id":107771168,"number":144,"title":"Error on resume when temp files (file.tmp.*) present","user":{"login":"dwsteele","id":5814217,"avatar_url":"https://avatars.githubusercontent.com/u/5814217?v=3","gravatar_id":"","url":"https://api.github.com/users/dwsteele","html_url":"https://github.com/dwsteele","followers_url":"https://api.github.com/users/dwsteele/followers","following_url":"https://api.github.com/users/dwsteele/following{/other_user}","gists_url":"https://api.github.com/users/dwsteele/gists{/gist_id}","starred_url":"https://api.github.com/users/dwsteele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwsteele/subscriptions","organizations_url":"https://api.github.com/users/dwsteele/orgs","repos_url":"https://api.github.com/users/dwsteele/repos","events_url":"https://api.github.com/users/dwsteele/events{/privacy}","received_events_url":"https://api.github.com/users/dwsteele/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pgmasters/backrest/labels/bug%20(code)","name":"bug (code)","color":"fc2929"},{"url":"https://api.github.com/repos/pgmasters/backrest/labels/High%20Priority","name":"High Priority","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"dwsteele","id":5814217,"avatar_url":"https://avatars.githubusercontent.com/u/5814217?v=3","gravatar_id":"","url":"https://api.github.com/users/dwsteele","html_url":"https://github.com/dwsteele","followers_url":"https://api.github.com/users/dwsteele/followers","following_url":"https://api.github.com/users/dwsteele/following{/other_user}","gists_url":"https://api.github.com/users/dwsteele/gists{/gist_id}","starred_url":"https://api.github.com/users/dwsteele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwsteele/subscriptions","organizations_url":"https://api.github.com/users/dwsteele/orgs","repos_url":"https://api.github.com/users/dwsteele/repos","events_url":"https://api.github.com/users/dwsteele/events{/privacy}","received_events_url":"https://api.github.com/users/dwsteele/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pgmasters/backrest/milestones/9","html_url":"https://github.com/pgmasters/backrest/milestones/Vienna%20Milestone","labels_url":"https://api.github.com/repos/pgmasters/backrest/milestones/9/labels","id":1304698,"number":9,"title":"Vienna Milestone","description":"Targeted for release at PGConf.EU 2015 in Vienna.","creator":{"login":"dwsteele","id":5814217,"avatar_url":"https://avatars.githubusercontent.com/u/5814217?v=3","gravatar_id":"","url":"https://api.github.com/users/dwsteele","html_url":"https://github.com/dwsteele","followers_url":"https://api.github.com/users/dwsteele/followers","following_url":"https://api.github.com/users/dwsteele/following{/other_user}","gists_url":"https://api.github.com/users/dwsteele/gists{/gist_id}","starred_url":"https://api.github.com/users/dwsteele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwsteele/subscriptions","organizations_url":"https://api.github.com/users/dwsteele/orgs","repos_url":"https://api.github.com/users/dwsteele/repos","events_url":"https://api.github.com/users/dwsteele/events{/privacy}","received_events_url":"https://api.github.com/users/dwsteele/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2015-09-14T16:16:23Z","updated_at":"2015-09-23T01:09:33Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-09-22T18:22:26Z","updated_at":"2015-09-23T01:09:33Z","closed_at":"2015-09-23T01:09:33Z","body":"Resume will fail when temp files are present in the root of the backup directory.  These temp files are the remnants of partially copied files.  Log output:\r\n```\r\n-bash-4.1$ crunchy-backup-manager --stanza=dev --type=full backup --log-level-console=info\r\n2015-07-24 17:42:15.505 T00   INFO: backup start: type = full\r\n2015-07-24 17:42:15.579 T00   INFO: executing pg_start_backup() with label \"crunchy-backup-manager backup started 2015-07-24 17:42:15\": backup will begin after the requested immediate checkpoint completes\r\n2015-07-24 17:42:16.057 T00   INFO: archive start: 00000001000000040000003D\r\n2015-07-24 17:42:45.250 T00   WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed\r\n2015-07-24 17:42:45.250 T00   INFO: cleaning backup tmp path\r\n\r\n2015-07-24 17:42:46.180 T00  ERROR: process terminated on signal or exception, 2 threads stopped\r\nsubstr outside of string at /usr/share/perl5/BackRest/Backup.pm line 149.\r\n at /usr/bin/crunchy-backup-manager line 13\r\n        main::__ANON__('substr outside of string at /usr/share/perl5/BackRest/Backup....') called at /usr/share/perl5/BackRest/Backup.pm line 149\r\n        BackRest::Backup::backup_file_not_in_manifest('backup:tmp', 'BackRest::Manifest=HASH(0x1eb0d68)', 'BackRest::Manifest=HASH(0x3a5c478)') called at /usr/share/perl5/BackRest/Backup.pm line 231\r\n        BackRest::Backup::backup_tmp_clean('BackRest::Manifest=HASH(0x1eb0d68)', 'BackRest::Manifest=HASH(0x3a5c478)') called at /usr/share/perl5/BackRest/Backup.pm line 662\r\n        BackRest::Backup::backup('/data/pgsql/9.4/data', 1) called at /usr/bin/crunchy-backup-manager line 208\r\n        eval {...} called at /usr/bin/crunchy-backup-manager line 61\r\n at /usr/bin/crunchy-backup-manager line 260\r\n at /usr/bin/crunchy-backup-manager line 13\r\n        main::__ANON__('substr outside of string at /usr/share/perl5/BackRest/Backup....') called at /usr/share/perl5/Carp.pm line 45\r\n        Carp::confess('substr outside of string at /usr/share/perl5/BackRest/Backup....') called at /usr/bin/crunchy-backup-manager line 260\r\n```"}}