borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
10.73k stars 733 forks source link

borg2: Creating archive fails at specific archive name #8198

Closed hermann4 closed 1 month ago

hermann4 commented 1 month ago

Have you checked borgbackup docs, FAQ, and open GitHub issues?

Yes

Is this a BUG / ISSUE report or a QUESTION?

BUG / ISSUE

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

borg2 2.0.0b5

Operating system (distribution) and version.

Debian Bookworkm

Hardware / network configuration, and filesystems used.

Local Filesystem: Ext4, Archived to a locally mounted webdav directory

How much data is handled by borg?

50GB

Full borg commandline that lead to the problem (leave away excludes and passwords)

sys.argv: ['/usr/bin/borg2', 'create', '-r', '/home/johndoe/backup/webdav/bu/backup/', '29-04-24-07:04:01', '/home/johndoe/backup/onedrive/']

Describe the problem you're observing.

When execeuting the backup at times with uneven hours (as seen above, or 09:00...) it crashes with the following error: ValueError: unknown hashindex magic: b''

Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.

Problem can be reproduced, if I either change the time to an even value the backup works, also if the ":" are replaced with "-" in the archive name the backup works even with uneven times

Include any warning/errors/backtraces from the system logs

infectormp commented 1 month ago

could you please post the full stack trace here?

infectormp commented 1 month ago

You should try to reproduce this behavior using a stable filesystem, not using locally mounted webdav directory.

hermann4 commented 1 month ago

Cannot reproduce the behaviour i had yesterday as it is working now. Creating an archive with the name is possible today, so maybe a problem with the mount as you mentioned