RRDRESTORE(1)

RRDRESTORE(1) πŸ’…

okay so this is the rrdtool manual page, and we're about to make restoring an RRD from XML make sense. no cap, it's easier than it sounds. ✨

✨ NAME ✨

rrdrestore β€” restore the contents of an RRD from its XML dump format. that's the whole vibe: XML goes in, native RRD comes out. πŸ’–

🌈 SYNOPSIS 🌈

rrdtool restore filename.xml filename.rrd [--range-check|-r]
[--force-overwrite|-f]

πŸ’– DESCRIPTION πŸ’–

okay so the restore function reads the XML representation of an RRD and converts it to the native RRD format. literally glow-up via XML. πŸ¦‹

here's the cast of characters you pass in:

  • filename.xml β€” the name of the XML file you want to restore, bestie. the special filename - (a single dash) is interpreted as standard input. πŸ‘‘
  • filename.rrd β€” the name of the RRD to restore. that's the destination, periodt. πŸŽ€
  • --range-check, -r β€” make sure the values in the RRAs do not exceed the limits defined for the various data sources. it's giving safety goggles for your data. πŸ”₯
  • --force-overwrite, -f β€” allows RRDtool to overwrite the destination RRD. use the force, but like, responsibly. πŸ’…

Now, pipe mode tea β˜•: in order to support the restore command in pipe mode (especially when using RRDtool over a network connection), when you're using - as a filename, the end of the file can be signaled either by closing the data channel after the file has transferred β€” as would be the case when using input redirection within a suitable shell β€” or by sending a crtl-Z / newline combination. this allows one to send more commands to the RRDtool server after a restore. so iconic for network stuff. 🌐✨

🫢 AUTHOR 🫢

Tobias Oetiker <tobi@oetiker.ch> wrote this one. absolute icon. πŸ’œ

πŸ’– that's the whole page, bestie β€” this is rrdtool version 1.11.0, dated 2026-10-17. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from