[rrd-users] Bug in dump/restore
Fabian Zimmermann
fabian.zimmermann at bluecellnetworks.com
Tue Oct 20 12:11:05 CEST 2009
Hello,
is there a known bug in dump/restore of rrdtool? I tried to find some
more information, but google didn't return anything useful.
If I do a:
rrdtool dump test.rrd > dump.xml
i get:
<!-- 2009-10-08 01:50:00 CEST / 1254959400 --> <row><v> 1.4980000000e+01
</v><v> 9.5716666667e+00 </v></row>
<!-- 2009-10-08 01:55:00 CEST / 1254959700 --> <row><v> 3.8149000000e+02
</v><v> 7.0007666667e+02 </v></row>
<!-- 2009-10-08 02:00:00 CEST / 1254960000 --> <row><v> 2.8804000000e+02
</v><v> 5.3001333333e+02 </v></row>
<!-- 2009-10-08 02:05:00 CEST / 1254960300 --> <row><v> 2.8804000000e+02
</v><v> 5.3001333333e+02 </v></row>
followed by:
rrdtool restore dump.xml restored.rrd
rrdtool dump restored.rrd
and I got:
<!-- 2009-10-08 01:50:00 CEST / 1254959400 --> <row><v> 1.0000000000e+00
</v><v> 9.0000000000e+00 </v></row>
<!-- 2009-10-08 01:55:00 CEST / 1254959700 --> <row><v> 3.0000000000e+00
</v><v> 7.0000000000e+00 </v></row>
<!-- 2009-10-08 02:00:00 CEST / 1254960000 --> <row><v> 2.0000000000e+00
</v><v> 5.0000000000e+00 </v></row>
<!-- 2009-10-08 02:05:00 CEST / 1254960300 --> <row><v> 2.0000000000e+00
</v><v> 5.0000000000e+00 </v></row>
I tested this with 1.3.1 (Lenny) and 1.3.8 (Squeeze). I also tried
"--no-header" and/or "--range-check", but still the same.
Any ideas?
Thanks a lot,
Fabian
More information about the rrd-users
mailing list