rrd_restore

Restores the RRD file from XML dump

説明

bool rrd_restore(string $xml_file, string $rrd_file, array $options = ?)

Restores the RRD file from the XML dump.

パラメータ

xml_file
XML filename with the dump of the original RRD database file.
rrd_file
Restored RRD database file name.
options
Array of options for restoring. See man page for rrd restore.

戻り値

成功した場合に true を、失敗した場合に false を返します。