Page MenuHomePhabricator
Paste P7928

compressiong Jenkins /srv/jenkins/builds data with borg
ActivePublic

Authored by LarsWirzenius on Dec 18 2018, 4:46 PM.
subset GiB kfiles borg (GiB) borg (%)
all 420 2400
.apk 60 10
.jpg 0 5
.log 260 700 40 15% (6x)
.mp4 10 100
.png 1 30
.xml 50 1000 4 8% (12x)
log 20 100 2 10% (10x)
If we archive files named log, *.log , or *.xml in
/srv/jenkins/builds after each build, by backing them
up with borg, we should be able to store the data at
least six times longer than we do in Jenkins now, without
using more disk space than the builds directory uses now.
Whether that's worth it, I don't know.