rrd_restore

(PECL rrd >= 0.9.0)

rrd_restoreRestores the RRD file from XML dump

說(shuō)明

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

Restores the RRD file from the XML dump.

參數(shù)

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.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false