Closed andreagrandi closed 11 months ago
Update, I was also able to reproduce the bug: this this it nearly (99%) completed the backup, but I got a similar error at the end:
2023-12-22 11:21:45,144 - vorta.borg.borg_job - WARNING - KeyError: ('andreas-macbook-pro-m2.local@169661970087823', 23201, 0)
2023-12-22 11:21:45,144 - vorta.borg.borg_job - ERROR - Local Exception
2023-12-22 11:21:45,144 - vorta.borg.borg_job - ERROR - Traceback (most recent call last):
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.6/libexec/lib/python3.11/site-packages/borg/archiver.py", line 5324, in main
exit_code = archiver.run(args)
^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.6/libexec/lib/python3.11/site-packages/borg/archiver.py", line 5255, in run
return set_ec(func(args))
^^^^^^^^^^
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.6/libexec/lib/python3.11/site-packages/borg/archiver.py", line 168, in wrapper
with repository:
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.6/libexec/lib/python3.11/site-packages/borg/repository.py", line 214, in __exit__
self.close()
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.6/libexec/lib/python3.11/site-packages/borg/repository.py", line 478, in close
self.lock.release()
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.6/libexec/lib/python3.11/site-packages/borg/locking.py", line 420, in release
self._lock.release()
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.6/libexec/lib/python3.11/site-packages/borg/locking.py", line 176, in release
raise err
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.6/libexec/lib/python3.11/site-packages/borg/locking.py", line 172, in release
os.rmdir(self.path)
OSError: [Errno 5] Input/output error: '/Users/andrea/pCloud Drive/Backups/pCrypto/lock.exclusive'
Platform: Darwin Andreas-MacBook-Pro-M2.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020 arm64
Borg: 1.2.6 Python: CPython 3.11.6 msgpack: 1.0.5 fuse: llfuse 1.5.0 [pyfuse3,llfuse]
PID: 23201 CWD: /
sys.argv: ['/opt/homebrew/bin/borg', 'create', '--list', '--progress', '--info', '--log-json', '--json', '--filter=AM', '-C', 'lz4', '/Users/andrea/pCloud Drive/Backups/pCrypto::Andreas-MacBook-Pro-M2.local-2023-12-22-111909', '/Users/andrea/pCrypto']
SSH_ORIGINAL_COMMAND: None
2023-12-22 11:21:45,261 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 2
2023-12-22 11:21:45,262 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 2
2023-12-22 11:21:45,263 - vorta.scheduler - DEBUG - Scheduler for profile 2 is disabled.
the issue seems to always be with that lock.exclusive
file
Network drives aren't supported. You would need to use SSH for remote backups.
You probably find similar questions on Borg's Github, so I'll close it here.
I looked into the other repository but I couldn't find a similar error. I will report the error there, thanks.
Description
Hello, I just started using Vorta and Borg and I had successfully tested backing up on an external USB disk. Since I have a lifetime plan on pCloud with 500GB available, I wanted to use some of this space to store a second copy of my backup.
The backup started normally, but around 30% was interrupted with an error (see logs).
I assumed I could use any mounted folder to store my files (regardless of the cloud being used), isn't this the case?
Yeah, I'm aware there are native solutions like BorgBase (and I admit the price would be even reasonable), but I'm trying to understand if I can reuse the space I already have, before purchasing additional one.
Reproduction
OS
MacOS 14.2.1
Version of Vorta
0.8.11
What did you install Vorta with?
Homebrew
Version of Borg
1.2.6
Logs