I’ve updated to version 0.9.3 and the stats
command is indicating a fatal error when using latest
. My repo contains 3 hosts. The command I used was: restic stats latest
and restic stats --mode raw-data latest
.
Version 0.9.2:
~$ restic stats latest
Total File Count: 14367
Total Size: 77.898 GiB
~$ restic stats --mode raw-data
Total Blob Count: 100337
Total Size: 71.905 GiB
Version 0.9.3:
~$ restic stats latest
scanning...
Fatal: latest snapshot for criteria not found: no snapshot found
~$ restic stats --mode raw-data latest
scanning...
Fatal: latest snapshot for criteria not found: no snapshot found
However, when I use the same command with the host it works:
~$ restic stats latest --host hostname
scanning...
Stats for the latest snapshot in restore-size mode:
Total File Count: 14368
Total Size: 77.911 GiB
~$ restic stats --mode raw-data latest --host hostname
scanning...
Stats for the latest snapshot in raw-data mode:
Total Blob Count: 100348
Total Size: 71.916 GiB
Don’t mind the sizes indicated in v0.9.2 VS v0.9.3. I made a new snapshot after updating and that is why it has increased a little.