diff --git a/cmd/restic/cmd_stats.go b/cmd/restic/cmd_stats.go index 490806e2a..8578a481c 100644 --- a/cmd/restic/cmd_stats.go +++ b/cmd/restic/cmd_stats.go @@ -366,7 +366,7 @@ const ( func statsDebug(ctx context.Context, repo restic.Repository, printer progress.Printer) error { printer.E("Collecting size statistics\n\n") - for _, t := range []restic.FileType{restic.KeyFile, restic.LockFile, restic.IndexFile, restic.PackFile} { + for _, t := range []restic.FileType{restic.KeyFile, restic.LockFile, restic.IndexFile, restic.SnapshotFile, restic.PackFile} { hist, err := statsDebugFileType(ctx, repo, t) if err != nil { return err