Comments (6)
It seems that borg check --repair
fixed the issue:
borg check --repair ssh://[email protected]:23/./borg/pegasus /usr/bin/borg:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
This is a potentially dangerous function.
check --repair might lead to data loss (for kinds of corruption it is not
capable of dealing with). BE VERY CAREFUL!
Type 'YES' if you understand this and want to continue: YES
Enter passphrase for key ssh://[email protected]:23/./borg/pegasus:
Unpacker crashed while unpacking item metadata, trying to resync... [chunk: 003515_7cddc8c390eb7ab3643fc106e4bf98efad5f3c26fbc4e0fc534efa0e8604d715]
5042 orphaned objects found!
Archive consistency check complete, problems found.
New backups are no longer failing.
Thanks for your help!
from borg.
Hmm, that code reads the archive metadata streams from the repo and rebuild the local chunkindex from that.
Looks like one archive (can be also a "hidden" .checkpoint archive) might be corrupt.
Guess I would do the following:
If you used borg < 1.2.5 for that repo follow the CVE-related steps from the top of the changelog (that is important in case you want to use borg check --repair
later)
Then:
borg list --consider-checkpoints REPO
borg delete REPO::latest.checkpoint
(you can also try adding 1 or 2 times--force
and deleting the latest non-checkpoint archive, if you don't need it)
Does that fix it?
If not, run borg check --repair REPO
.
from borg.
Thanks for the speedy response! :-)
The oldest archive in the repo is from Jan 2023, so the repo has been touched by a pre-1.2.5 version. The PPA I am using to install borg, does not yet prove 1.2.8, though. :-/
There is one .checkpoint archive. Is it safe to execute the steps you mentioned as long as I do not run borg check --repair
before applying the steps from the changelog?
from borg.
Yes, as long as you don't run borg check --repair
, it won't kill any archives with TAM issues.
For the CVE-related upgrade steps, make sure to read the docs for your borg version (e.g. the steps in the 1.2.8 docs won't work when using borg 1.2.7).
from borg.
I checked the current (1.2.7) source: yes, this seems the same issue (a corrupt archive) as described there:
from borg.
Thanks! I applied the upgrade steps from the 1.2.7 changelog - the repo was't affected. Deleting the candidates of the affected archives did not work, currently running borg check --repair
.
from borg.
Related Issues (20)
- [1.2.7] borg check -repair lacks a summarizing information at the end when it actually repaired something(s)
- "compromised client" threat model HOT 1
- Backup to Hetzner Storage Share no longer working HOT 1
- moin 1.4: borg install docs, cygwin section refer to py38
- borg2: Creating archive fails at specific archive name HOT 3
- disk is full: `_get_default_tempdir` raises `FileNotFoundError` No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/kmille'] HOT 7
- run in venv w/ root rights HOT 3
- As of 1.2.0, the ssh relative path hack "/./" works for most actions but not "borg init" HOT 4
- Please add a way to keep backups independently of pruning retention policy HOT 2
- ConnectionResetError: [Errno 104] Connection reset by peer HOT 3
- `borgfs` in Standalone Binary Installation Docs HOT 2
- Can't build borg on arm64 (armbian 22.04LTS) HOT 20
- Use multithreaded zstd compression HOT 4
- Security Feature: Error if local / repository nonce are not in agreement -- improve encryption trust HOT 1
- Are backup archive names encrypted? Cannot find answer in docs. HOT 1
- Backups much slower (5 mins compared to 0.3 secs) than reported "Duration" -- any way to speed it up? HOT 6
- Possible bug in pruning logic with keep-weekly and keep-monthly HOT 7
- netbsd9 vagrant box: broken libxxhash.pc HOT 2
- locking.py seems multiprocess-safe but not thread-safe HOT 1
- `borg check` hangs after errors HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from borg.