-
-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--stats strange output for "All archives" #5055
Comments
@infectormp not sure what you mean. |
@stream1972 what do these commands show:
|
@ThomasWaldmann
|
Server command line (just in case):
|
Additionally, please do that:
|
Yep, they're here. I see there are many issues (mostly closed) about similar problems.
|
Hello, seeing the same or similar issue with borg 1.1.13. Fresh repo, first backup, and "All archives" stats differ from "This archive". Backup was done over network, server also running 1.1.13. These are the steps I took: 1/ On the server, create a user account
The directory 2/ On the client:
For the record, the "This archive" original size matches with the
And indeed with
I've tried to prune the repo, but no data would be deleted. Is there any explanation where those "part files" come from? Would it be safe to continue using this repo? |
The part files are a feature of borg and are created when doing a checkpoint in the middle of a (usually bigger) file. So having them is expected behaviour. You can see them with What's strange is that you see inconsistencies between "this" and "all", but maybe that comes from how these values are computed. I'll have a look whether we can improve that. |
see that comment and the next comment after that one: Besides showing the impact of a sparse file, it also shows how borg deals with part files (and |
Have you checked borgbackup docs, FAQ, and open Github issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
Question, but possible an issue
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
1.1.11
Operating system (distribution) and version.
Client: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
Server: Ubuntu 14.04.6 LTS (GNU/Linux 3.13.0-139-generic x86_64)
Hardware / network configuration, and filesystems used.
Backup over ssh, ext4 -> ext4
How much data is handled by borg?
15-20G source, repositories up to 10G
Full borg commandline that lead to the problem (leave away excludes and passwords)
export BORG_RSH='ssh -oBatchMode=yes'
export BORG_REPO='ssh://user@xxxxx.yyyyyy.zz:12345/./dbbackup'
export BORG_PASSPHRASE=sometext
borg create -s -v --show-rc --chunker-params=13,23,18,4095 --compression lzma ::dbbackup_{utcnow:%Y-%m-%d_%H:%M:%S} data_1.sql data_2.sql data_3.sql data_4.sql data_5.sql data_6.sql
Describe the problem you're observing.
This is output of --stats after first backup to the fresh, just created repository:
Note the numbers for "All archives". There is only one archive in this backup, but numbers are almost doubled.
After second backup, "All archives" continues to grow:
But after two backups there should be (10.50+10.66) GB total, not 31.
The backup contains few database dump, one huge file (~10 GB) and few small ones.
Look like this huge file was accounted twice. It is working as intended? If yes, it's misleading.
Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.
Yes, I made another new repository (now it was backup of user home directory, different files, some big archives, some text files of different length) and again, after first backup numbers in "All archives" are larger then in "This archive", although "this" is the only one archive in the repository. The difference is not so big but it still exist.
The text was updated successfully, but these errors were encountered: