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.
.fidx
and .didx
files in a directory recursivelypbsstats [--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
filesExample
./pbsstats /path/to/datastore
Prerequisits: golang and npm installed
# install npm packages
cd web
npm install
cd ..
# generate web frontend and build go app
go generate
go build
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.