Total repository size


#1

Hi,

Is there a way to get the total size of the repository?
I’m using swift as the backend so I can’t check the size of a local dir for example.

Thank you.


#2

/bump

would really like to see an easy command for this :slight_smile:


#3

You could use rclone ncdu.


#4

Ah, @mholt added a PR which has been merged in the meantime, it provides the restic stats command, so restic stats --mode raw-data should do what you want. :slight_smile:

This feature is not included in any released version yet, you can either compile restic yourself, or download a beta binary from here: https://beta.restic.net/?sort=time&order=desc


#5

And docs for the restic stats command are here: https://restic.readthedocs.io/en/latest/manual_rest.html#getting-information-about-repository-data


#6

Oh sweet, thank you, I’ll just wait it out for an official release, great to have it coming! :smiley:


#7

Here you go: https://github.com/restic/restic/releases/tag/v0.9.2


#8

I missed your lightning speed yesterday :smile:

Thank you!