rrdtool RDUMP(1)
NAME
rrddump - dump the contents of an RD to XML format
SYNOPSIS
rrdtool dump [--no-header-n] filename.rrd > filename.xml
or
rrdtool dump [--no-header-n] filename.rrd filename.xml
DESCRIPTION
The dump function writes the contents of an RD in human
readable (?) XML format to a file or to stdout. This format
can be read by rrdrestore. Together they allow you to
transfer your files from one computer architecture to
another as well to manipulate the contents of an RD file in
a somewhat more convenient manner.
filename.rrd
The name of the RD you want to dump.
filename.xml
The (optional) filename that you want to write the
XML output to. If not specified, the XML will be
printed to stdout.
[--no-header-n]
In rrdtool 1.3, the dump function started producing
correct xml-headers. Unfortunately the rrdtool
restore function from the 1.2 series can not handle
these headers. With this option you can supress the
creatinon of the xml headers.
EXAMPLES
To transfer an RD between architectures, follow these
steps:
1. On the same system where the RD was created, use
rrdtool dump to export the data to XML format.
2. Transfer the XML dump to the target system.
3. Run rrdtool restore to create a new RD from the XML
dump. See rrdrestore for details.
AUTHOR
Tobias Oetiker
1.3.5 Last change: 2008-05-16 1
|