Skip to content
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

Total Size in stats is not correct when backup is compressed #3779

Closed
FATruden opened this issue Jun 1, 2022 · 0 comments · Fixed by #3733
Closed

Total Size in stats is not correct when backup is compressed #3779

FATruden opened this issue Jun 1, 2022 · 0 comments · Fixed by #3733

Comments

@FATruden
Copy link

FATruden commented Jun 1, 2022

Output of restic version

./restic2 version
restic 0.13.1-dev (compiled manually) compiled with go1.18 on linux/amd64

I have built current master with compression support.

How did you run restic exactly?

./restic2 --verbose -r /mnt/restic/repo2/ stats --mode raw-data

enter password for repository:
repository 193651e2 opened (repo version 2) successfully, password is correct
scanning...
Stats in raw-data mode:
Snapshots processed:   1
   Total Blob Count:   97646
         Total Size:   174.626 GiB

What backend/server/service did you use to store the repository?

local dir

Expected behavior

After backup with compression, i can see actual size which is smaller then in 'stats' output:

du -sh /mnt/restic/repo2
99G	/mnt/restic/repo2

Steps to reproduce the behavior

Backup something with compression and check 'stats' in 'raw-data' mode.

@MichaelEischer MichaelEischer linked a pull request Jun 4, 2022 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant