[rrd-users] Re: Converting rrd files from one system to another

James B Horwath JamesHorwath at glic.com
Thu Jan 20 19:03:53 MET 2005


Thanks everyone, this is just what I needed.
Regards,
Jim

Jim Horwath
GCUX






Andreas Maus <a.maus at science-computing.de>
Sent by: rrd-users-bounce at list.ee.ethz.ch
01/20/2005 08:33 AM



 
To:     James B Horwath <JamesHorwath at glic.com>
cc:     rrd-users at list.ee.ethz.ch
Subject:        [rrd-users] Re: Converting rrd files from one system to 
another


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: a.maus at science-computing.de   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:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi





-----------------------------------------
This message, and any attachments to it, may contain information that is
privileged, confidential, and exempt from disclosure under applicable law.
If the reader of this message is not the intended recipient, you are
notified that any use, dissemination, distribution, copying, or
communication of this message is strictly prohibited.  If you have received
this message in error, please notify the sender immediately by return
e-mail and delete the message and any attachments.  Thank you.


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list