On Thu, Jan 20, 2005 at 08:04:56AM -0500, James B Horwath wrote:
Hi James.
> for x in `ls *.rrd`
> do
> rrdtool xport ${x} > ${x}_xport
-----------^
xport ??? Thats wrong.
The name (and description in the man page) is a little bit misleading
("rrdxport - Export data in XML format based on data from one or several RRD")

You should use rrdtool dump and rrdtool restore to convert databases.

rrddump - dump the contents of an RRD to XML format
rrdrestore - restore the contents of an RRD from its XML dump format

So you should run:

rrdtool dump rrd_on_old_host.rrd > rrd_on_old_host_dumped.xml

and restore them on the new host via:

rrdtool restore rrd_on_old_host_dumped.xml rrd_on_new_host.rrd

Easy, isn't it? ;)

Hope that helps,

Andreas.

-- 
Dipl.-Ing. Andreas Maus             science+computing ag
System Administration               Hagellocher Weg 71-75
mail: [EMAIL PROTECTED]   72070 Tuebingen, Germany
tel.: +49 7071 9457 456             www.science-computing.de

-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to