PBS Stats

This program scans a directory tree for Proxmox Backup Server index files (.fidx and .didx), analyzes chunk deduplication, and shows chunk usage in a heat map.

Features

  • Scans all .fidx and .didx files in a directory recursively
  • Counts how often each chunk digest appears across all files

Usage

pbsstats [--top-chunks N] [--top-files N] <directory>
  • --top-chunks N: Show the top N most referenced chunks (default: 50)
  • --top-files N: Show the top N files with the highest deduplication ratio (default: 50)
  • <directory>: Root directory to scan for .fidx and .didx files

Example

./pbsstats /path/to/datastore

Building

Prerequisits: golang and npm installed

# install npm packages
cd web
npm install
cd ..
# generate web frontend and build go app
go generate
go build

About

The program has little practical value. It gives some insight into deduplication in Proxmox Backup Server datasets. It uses svelte and Go to create a single binary without further dependencies.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes