-
-
Notifications
You must be signed in to change notification settings - Fork 780
Description
I have an old borg repository and want to recreate it using different chunker params. So I mount the repository and back up the mounted archives again to a new repository. I want to make sure that nothing gets lost in this process so I first check if the original sizes of the backups match. And to my surprise the new backup reports a bigger original size.
My old archive was created on 2021-11-22 (I do not know how to find the version I used) and borg info reports an original size of 967.53 GB.
The new archive reports 967.99 GB when creating it.
So I tried multiple different things to find out what the difference was, but everything appears to be the same.
When I run borg list repo::archive --format="{size}{NEWLINE}"
and add up all the reported sizes and I get exactly 967 532 246 644 Bytes as the result, both for the old and the new repo/archive. This nicely matches the size reported by borg info for the old archive, so it appears to me that the "Original size" reported by new versions of borg is too high. I also tried some older versions of borg so I could maybe find out which version causes this, but all versions I tried (1.1.18, 1.2.2, 1.2.8 and 1.4.0) had the same issue, although not all reported the same "Original size". I sadly was not able to run versions older than 1.1.18 (which is from 2022-06-05 and thus still newer than my archive) due to multiple error messages. Maybe I could try switching to an older OS for being able to run an even older version.
Some further infos:
- The original backup was taken from ntfs. I am not sure if I took it over smb or mounted it on linux.
- The backup contains hardlinks but apparently borg counts them more than once, otherwise the result of borg list should not match
- I probably took the original backup using ubuntu 20.04
- I am running borg in a debian bookworm lxc-container under proxmox
So do you have any idea what could be going on? Is there anything I could be doing wrong?
Thank you!