[Borgbackup] borg 1.0.3 crashes on prune

Hans-Peter Jansen hpj at urpla.net
Mon Jun 27 06:59:31 EDT 2016


Hi,

$ borg prune -v --list --keep-daily=7 --keep-weekly=4 --keep-monthly=12 --prefix server-vbox /backup/borg
Keeping archive: server-vbox-2016-06-26                Sun, 2016-06-26 23:30:29
Keeping archive: server-vbox-2016-06-25                Sat, 2016-06-25 23:30:34
Keeping archive: server-vbox-2016-06-24                Fri, 2016-06-24 23:30:33
Keeping archive: server-vbox-2016-06-23                Thu, 2016-06-23 23:30:30
Keeping archive: server-vbox-2016-06-22                Wed, 2016-06-22 23:30:32
Keeping archive: server-vbox-2016-06-21                Tue, 2016-06-21 23:30:30
Keeping archive: server-vbox-2016-06-20                Mon, 2016-06-20 23:30:31
Keeping archive: server-vbox-2016-06-19                Sun, 2016-06-19 23:30:30
Keeping archive: server-vbox-2016-06-12                Sun, 2016-06-12 23:30:35
Keeping archive: server-vbox-2016-06-03                Fri, 2016-06-03 20:36:43
Pruning archive: server-vbox-2016-06-18                Sat, 2016-06-18 23:31:11
Pruning archive: server-vbox-2016-06-17                Fri, 2016-06-17 23:31:03
Object with key b'\x91\xd9\xd0\xde\xad\xfaz\xeeEL\xef\x80\x1c?\xfeX"\xcf\xa8\xfe2\x14\xec\xe4\x89\xacy\x97}~\xf1y' not found in repository /backup/borg.
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/borg/archiver.py", line 1520, in main
    exit_code = archiver.run(args)
  File "/usr/lib64/python3.4/site-packages/borg/archiver.py", line 1465, in run
    return args.func(args)
  File "/usr/lib64/python3.4/site-packages/borg/archiver.py", line 81, in wrapper
    return method(self, args, repository=repository, **kwargs)
  File "/usr/lib64/python3.4/site-packages/borg/archiver.py", line 610, in do_prune
    Archive(repository, key, manifest, archive.name, cache).delete(stats)
  File "/usr/lib64/python3.4/site-packages/borg/archive.py", line 450, in delete
    self.cache.chunk_decref(chunk_id, stats)
  File "/usr/lib64/python3.4/site-packages/borg/cache.py", line 392, in chunk_decref
    self.repository.delete(id, wait=False)
  File "/usr/lib64/python3.4/site-packages/borg/repository.py", line 476, in delete
    raise self.ObjectNotFound(id, self.path) from None
borg.repository.ObjectNotFound: (b'\x91\xd9\xd0\xde\xad\xfaz\xeeEL\xef\x80\x1c?\xfeX"\xcf\xa8\xfe2\x14\xec\xe4\x89\xacy\x97}~\xf1y', '/backup/borg')

Platform: Linux server 4.2.5-12-default #1 SMP PREEMPT Wed Oct 28 17:49:15 UTC 2015 (0491388) x86_64 x86_64
Linux: openSUSE  13.2 x86_64
Borg: 1.0.3  Python: CPython 3.4.4
PID: 20751  CWD: /root
sys.argv: ['/usr/bin/borg', 'prune', '-v', '--list', '--keep-daily=7', '--keep-weekly=4', '--keep-monthly=12', '--prefix', 'server-vbox', '/backup/borg']
SSH_ORIGINAL_COMMAND: None

Crashing backup software makes me nervous.

How can I recover without endangering my data?

Pete


More information about the Borgbackup mailing list