Total repository size

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.

/bump

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

You could use rclone ncdu.

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

1 Like

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

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

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

2 Likes

I missed your lightning speed yesterday :smile:

Thank you!