A slightly faster gc tool for your proxmox-backup-server
scanning indexes and chunks in parallel.
- build binary or download from release
- Wait till all proxmox backup is finished
- (optional) Set the proxmox backup storage to read-only
- run
./pbs-fast-gc -baseDir /path/to/your/proxmox-backup/storage
- review the output (?)
- run
./pbs-fast-gc -baseDir /path/to/your/proxmox-backup/storage -delete
to actually delete the unreferenced chunks
filesystem | size | Time |
---|---|---|
juicefs with redis | 30T | scan 2min, delete < 10m |
ext4 on sdd | 9T | scan 1min, delete < 1m |