(PECL rrd >= 0.9.0)
rrd_restore — Restores the RRD file from XML dump
$xml_file, string $rrd_file, array $options = ?): boolRestores the RRD file from the XML dump.
xml_fileXML filename with the dump of the original RRD database file.
rrd_fileRestored RRD database file name.
optionsArray of options for restoring. See man page for rrd restore.
Returns true on success or false on failure.