rrddump - dump the contents of an RRD to XML format


rrdtool dump filename.rrd > filename.xml


rrdtool dump 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.

The name of the RRD you want to dump.

The (optional) filename that you want to write the XML output to. If not specified, the XML will be printed to stdout.


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 <>