[Borgbackup] borg restore issue

mike abcdefg jronpaul at gmail.com
Wed Oct 23 18:21:10 EDT 2019


hello all.
ive been using borg for a while.
today my hardrive failed.. so i put in a new one.
im trying to run borg list (repo)
and getting perm denied running it as root.
same error if i use the downloaded version, or the OS version.
running linux mint.

cat /etc/issue
Linux Mint 19.2 Tina \n \l
borg-linux64 1.1.10

borg-linux64 list /nas/backups/borg
Exception ignored in: <bound method Repository.__del__ of <Repository
/nas/backups/borg>>
Traceback (most recent call last):
  File "borg/repository.py", line 179, in __del__
AssertionError: cleanup happened in Repository.__del__
Local Exception
Traceback (most recent call last):
  File "borg/repository.py", line 1317, in get_fd
  File "borg/lrucache.py", line 21, in __getitem__
KeyError: 50663

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "borg/archiver.py", line 4501, in main
  File "borg/archiver.py", line 4433, in run
  File "borg/archiver.py", line 151, in wrapper
  File "borg/repository.py", line 189, in __enter__
  File "borg/repository.py", line 418, in open
  File "borg/repository.py", line 1352, in get_segment_magic
  File "borg/repository.py", line 1319, in get_fd
  File "borg/repository.py", line 1300, in open_fd
PermissionError: [Errno 13] Permission denied:
'/nas/backups/borg/data/5/50663'

Platform: Linux Latitude-E6320 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24
10:55:24 UTC 2019 x86_64
Linux: debian buster/sid
Borg: 1.1.10  Python: CPython 3.5.7 msgpack: 0.5.6
PID: 18521  CWD: /root
sys.argv: ['/home/user/Downloads/borg-linux64', 'list', '/nas/backups/borg']
SSH_ORIGINAL_COMMAND: None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20191023/cbcecf5d/attachment.html>


More information about the Borgbackup mailing list