Dear Maintainer,
I was trying to do a routine backup with borgbackup2, using a simple script. It
failed immediately, with the error below. (I'm not worried about y'all seeing
my directory structure.) Usually it would prompt me for a password, but it
didn't get to that point.
I also have borgbackup-is-borgbackup2 installed.
It doesn't look like borgbackup2 has been updated since the last time I
successfully used it, about two weeks ago.
Local Exception
Error:
TypeError: Store.__init__() got an unexpected keyword argument 'levels'
If reporting bugs, please include the following:
Traceback (most recent call last):
File "/usr/lib/borgbackup2/borg/archiver/__init__.py", line 669, in main
exit_code = archiver.run(args)
File "/usr/lib/borgbackup2/borg/archiver/__init__.py", line 546, in run
rc = func(args)
File "/usr/lib/borgbackup2/borg/archiver/_common.py", line 110, in wrapper
repository = get_repository(
location,
...<5 lines>...
v1_or_v2=False,
)
File "/usr/lib/borgbackup2/borg/archiver/_common.py", line 43, in
get_repository
repository = Repository(location, create=create, exclusive=exclusive,
lock_wait=lock_wait, lock=lock)
File "/usr/lib/borgbackup2/borg/repository.py", line 161, in __init__
self.store = Store(url, levels=levels_config, permissions=permissions)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Store.__init__() got an unexpected keyword argument 'levels'
Platform: Linux rosa 7.0.12+deb14.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian
7.0.12-2 (2026-06-12) x86_64
Linux: Unknown Linux
Borg: 2.0.0b20 Python: CPython 3.13.14 msgpack: 1.1.2 fuse: pyfuse3 3.4.0
[mfusepy,pyfuse3,llfuse]
PID: 42353 CWD: /home/brian
sys.argv: ['/usr/bin/borg', '-r', '/run/media/brian/BackupHD/rosa', 'create', '
--progress', '--stats', 'backup', '/home/brian/.KeePass', '/home/brian/bin',
'/home/brian/Desktop', '/home/brian/Documents', '/home/brian/Library',
'/home/brian/Music', '/home/brian/Pictures', '/home/brian/projects',
'/home/brian/Public', '/home/brian/Sync', '/home/brian/Templates',
'/home/brian/Videos']
SSH_ORIGINAL_COMMAND: None