rrdtool restore filename.xml filename.rrd [--range-check|-r] [--force-overwrite|-f]
The restore function reads the XML representation of an RRD and converts it to the native RRD format.
The name of the XML file you want to restore.
The special filename "-" (a single dash) is interpreted as standard input.
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 signalled 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 name of the RRD to restore.
Make sure the values in the RRAs do not exceed the limits defined for the various data sources.
Allows RRDtool to overwrite the destination RRD.
Tobias Oetiker <email@example.com>