Dump, manipulate and restore an .RRD database
mouse 171 · person cloud · link
Last update
2018-02-03
2018
02-03
«rrdtool dump and restore»
1
2
3
4
5
6
7
# single file
rrdtool dump    infile.rrd outfile.xml
rrdtool restore infile.xml outfile.rrd

# massive
for i in *.rrd; do rrdtool dump    $i ${i%.rrd}.xml; done
for i in *.xml; do rrdtool restore $i ${i%.xml}.rrd; done

Source: hashbangcode