[Borgbackup] borg delete failure with stack trace
jonikelee at gmail.com
jonikelee at gmail.com
Fri Oct 18 19:55:13 EDT 2019
I am testing out borg, and accidentally did:
borg create borgrepo::test4 ~
after 3 previous test archives were created using an
--exclude-if-present .nobackup option. When I noticed the missing
--exclude-if-present in the above create (because it was taking too
long), I ^C'ed it, then tried:
borg delete borgrepo::test4
and got this failure (<...> obfuscations added):
Local Exception
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 4501, in main
exit_code = archiver.run(args)
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 4433, in run
return set_ec(func(args))
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 166, in wrapper
return method(self, args, repository=repository, **kwargs)
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 1257, in do_delete
return self._delete_archives(args, repository)
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 1304, in _delete_archives
logger.info(msg.format(format_archive(manifest.archives[archive_name]), i, len(archive_names)))
File "/usr/lib/python3.7/site-packages/borg/helpers.py", line 244, in __getitem__
raise KeyError
KeyError
Platform: Linux <...> 5.3.6-1-MANJARO #1 SMP PREEMPT Sat Oct 12 09:30:05
UTC 2019 x86_64 Linux: arch Manjaro Linux
Borg: 1.1.10 Python: CPython 3.7.4 msgpack: 0.5.6
PID: 10547 CWD: <...>
sys.argv: ['/usr/bin/borg', 'delete', 'borgrepo::test4']
SSH_ORIGINAL_COMMAND: None
Is this borgrepo now fried? If not, how can I recover it?
More information about the Borgbackup
mailing list