RRDDUMP(1)
π RRDDUMP(1) π
okay so bestie, this is the rrdtool manual page for rrddump, and itβs literally your βdump your RRD into XMLβ era. β¨
πΈ NAME πΈ
rrddump β dump the contents of an RRD to XML format.
β¨ SYNOPSIS β¨
rrdtool dump filename.rrd [filename.xml] [--header|-h {none,xsd,dtd}]
[--no-header|-n] [--daemon|-d address] [> filename.xml]
π DESCRIPTION π
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. No cap. π
filename.rrdβ the name of the RRD you want to dump. Your fave file, your problem. π«Άfilename.xmlβ the (optional) filename that you want to write the XML output to. If not specified, the XML will be printed to stdout. Yes, straight into your terminal. π--header|-h {none,xsd,dtd}β by default RRDtool will add adtdheader to the xml file. Here you can customize this to anxsdheader or no header at all. Pick your header era. π--no-header|-nβ a shortcut for--header=none. literally.--daemon|-d addressβ address of therrdcacheddaemon. If specified, a"flush"command is sent to the server before reading the RRD files. This allowsrrdtoolto return fresh data even if the daemon is configured to cache values for a long time. When specified the RRD filename signifies a server side file, but the output (XML) filename refers to the local side. For a list of accepted formats, see the-loption in therrdcachedmanual.
If you want to restore the dump with RRDtool 1.2 you should use the --no-header option since 1.2 cannot deal with xml headers. Important bestie, donβt skip this. β οΈ
rrdtool dump --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
π EXAMPLES π
To transfer an RRD between architectures, follow these steps:
- On the same system where the RRD was created, use
rrdtool dumpto export the data to XML format. - Transfer the XML dump to the target system.
- Run
rrdtool restoreto create a new RRD from the XML dump. Seerrdrestorefor details.
π¦ ENVIRONMENT VARIABLES π¦
The following environment variables may be used to change the behavior of rrdtool dump:
RRDCACHED_ADDRESSβ if this environment variable is set it will have the same effect as specifying the--daemonoption on the command line. If both are present, the command line argument takes precedence. slay. π
π AUTHOR π
Tobias Oetiker <tobi@oetiker.ch>
Thatβs the RRDDUMP(1) tea from rrdtool 1.11.0, dated 2026-10-17 β byeee, bestie π
π¦ where this page comes from
- arch rolling: rrdtool 1.11.0-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms