Closed nekr0z closed 6 months ago
1.2.0 is rather old meanwhile, you could try a much more recent borg 1.2.x with quite some bug fixes and also a few new features from the maintainer's ppa:
https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/borgbackup?field.series_filter=jammy
Alternatively, you could try:
borg break-lock REPO
borg break-lock REPO
seems to be the only borg command that does not produce the error. Unfortunately, it doesn't help.
Even after rm -r REPO/lock*
I receive the same errors upon trying any borg command.
The issue does not reproduce on 1.2.7
.
It is unfortunate that Ubuntu LTS has a buggy version.
If 1.2.0 still crashes: can you do a ls -l REPO_DIR
?
Debian/Ubuntu policy is to usually not do version upgrades of packages in a stable release, but only patch security or other severe bugs.
BTW, if you upgrade to > 1.2.4, read the changelog, esp. the required migration steps at top of the changelog.
If 1.2.0 still crashes: can you do a
ls -l REPO_DIR
?
1.2.0 does still crash. Here's a ls -l
after a couple of runs:
итого 29628
-rw------- 1 eugenschmidt eugenschmidt 700 апр 1 17:44 config
drwxrwxr-x 17 eugenschmidt eugenschmidt 4096 мар 27 14:25 data
-rw------- 1 eugenschmidt eugenschmidt 2518 апр 1 19:22 hints.14387
-rw------- 1 eugenschmidt eugenschmidt 30304298 апр 1 19:22 index.14387
-rw------- 1 eugenschmidt eugenschmidt 190 апр 1 19:22 integrity.14387
-rw------- 1 eugenschmidt eugenschmidt 62 апр 1 19:21 'lock (2).roster'
-rw------- 1 eugenschmidt eugenschmidt 62 апр 1 19:22 'lock (3).roster'
-rw------- 1 eugenschmidt eugenschmidt 16 апр 1 19:22 nonce
-rw-rw-r-- 1 eugenschmidt eugenschmidt 73 янв 15 13:09 README
BTW, if you upgrade to > 1.2.4, read the changelog, esp. the required migration steps at top of the changelog.
I have checked the changelog on the official site, and it doesn't seem to list any breaking changes and/or upgrade notes between 1.2.0 and 1.2.7. Fortunately, simply upgrading the package and running the same commands produces no errors and seems to work fine.
Remove these lock*.roster
files while borg is not active.
And read the top of the changelog "important notes" (again) if you do not want to risk data loss. If you read it on the web, choose the correct borg version using the version selector at the lower right.
Have you checked borgbackup docs, FAQ, and open GitHub issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
Issue
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
borg 1.2.0
Operating system (distribution) and version.
Ubuntu 22.04.4 LTS
Hardware / network configuration, and filesystems used.
EXT4, all local
How much data is handled by borg?
Approx. 300 GB
Full borg commandline that lead to the problem (leave away excludes and passwords)
all result in the same behaviour
Describe the problem you're observing.
After what seems to be normal output of the command I use, I get something like: