On Mon, Oct 24, 2005 at 02:13:41AM -0400, William P. Roberts, IV wrote:
> Subject: rrdtool restore fails saying xml file version out of date
> Package: rrdtool
> Version: 1.2.11-0.4
> Severity: normal
>
> rrdtool restore fails to restore files created by the same version of
> rrdtool dump. If you create an rrd as given by the example below taken
> from the manpage then dump it and attempt to restore it you are given
> the error below.
>
> rrdtool create monitor.rrd --step 300 \
> DS:ifOutOctets:COUNTER:1800:0:4294967295 \
> RRA:AVERAGE:0.5:1:2016 \
> RRA:HWPREDICT:1440:0.1:0.0035:288
>
> rrdtool restore -r dump.xml monitor.rrd
> ERROR: Can only restore version >= 2 (Not ). Dump your old rrd using a
> current rrdtool dump.
Can you still reproduce this with the latest version? I can't:
% rrdtool create monitor.rrd --step 300
DS:ifOutOctets:COUNTER:1800:0:4294967295 RRA:AVERAGE:0.5:1:2016
RRA:HWPREDICT:1440:0.1:0.0035:288
% rrdtool dump monitor.rrd > dump.xml
% rrdtool restore -r dump.xml monitor-restored.rrd
% echo $?
0
--
2. That which causes joy or happiness.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]