rrddump − dump the contents of an RRD to XML format |
rrdtool dump [−−no−header|−n] filename.rrd > filename.xml or rrdtool dump [−−no−header|−n] filename.rrd filename.xml |
The dump function writes the contents of an RRD 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 RRD file in a somewhat more convenient manner. |
filename.rrd |
The name of the RRD 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. |
To transfer an RRD between architectures, follow these steps: |
1. |
On the same system where the RRD 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 RRD from the XML dump. See rrdrestore for details. |
Tobias Oetiker <tobi@oetiker.ch> |