rrdrestore man page
rrdrestore — Restore the contents of an RRD from its XML dump format The restore function reads the XML representation of an RRD and converts it to the native RRD format. Tobias Oetiker <firstname.lastname@example.org>
rrdtool restore filename.xml filename.rrd [--range-check|-r] [--force-overwrite|-f]
In order to support the restore command in pipe mode (especially when using RRDtool over a network connection), when 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.
The restore function reads the XML representation of an RRD and converts it to the native RRD format.
Tobias Oetiker <email@example.com>