Checkpoint archive name longer than cli argument validator allows #8319
Replies: 3 comments 1 reply
-
That's a bit unpretty indeed. But why do you need to list the contents of a checkpoint archive? Usually, their main purpose is to hold references to chunks already transferred into the repo and |
Beta Was this translation helpful? Give feedback.
-
BTW, what do you put into your archive names to even reach 197 chars? :-) |
Beta Was this translation helpful? Give feedback.
-
Normally I wouldn't care about the This situation is very artificial. I used Now borg2 is near release and I am doing funny stuff to learn about its limits. Also, I might stumble upon bugs that way. Converting old repositories, either by Also, I plan to transfer much (1TiB+) "production/useful" data to a online sftp accessible storage (Hetzner storagebox). As uploading with 50MBits takes quite some time, I do something very nasty like "PRE-SEEDING:" That is pushing large directories to the remote server in times...
A current goal is to use all available bandwidth with least-possible user interaction. But that way transfers need to be interrupted, and sometimes I won't be able to continue them. Hence That way "the data" is already there (chunked, compressed), when I upload the "sane" archives that I want to keep. When doing a "productive" I consider borg like an arbitrary deduplicating data storage for data hoarding. I have my whole data in 2x 10GiB+ borg1 repos and I consider some to be off-site on the storagebox (but have not fully decided what). Yes, my motivations and use-cases come from personal, autistic, adhd, and very bad executive function disorder. |
Beta Was this translation helpful? Give feedback.
-
user too tired to evaluate this properly (and doesn't want to spam Issues (again) with user error)
Still, if this was a BUG, it should be addressed soon.
tl;dr:
with borg2 v2.0.0b9 it is possible to (unpurposefully) create archive names exceeding length of 200chars, by interrupting the process, where archive name will be extended by string
.checkpoint
which causes length to exceed 200chars. That archive cannot be accessed byborg list <too long archive name>
.I roughly tried this with
borg import-tar
aswell asborg create
where I interrupted the process after a minute to force creating a.checkpoint
I did some short testing with newly created empty borg2 repos. It seems to be true for these, too.
Have you checked borgbackup docs, FAQ, and open GitHub issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
BUG (likely)
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
Operating system (distribution) and version.
How much data is handled by borg?
A: about 400GiB on a sftp share
B: empty new created repos on ext4 filesystem
Full borg commandline that lead to the problem (leave away excludes and passwords)
Describe the problem you're observing.
Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.
Yes.
Include any warning/errors/backtraces from the system logs
Beta Was this translation helpful? Give feedback.
All reactions