array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.rrd-restore.php', 1 => 'rrd_restore', 2 => 'Restores the RRD file from XML dump', ), 'up' => array ( 0 => 'ref.rrd.php', 1 => 'RRD Функції', ), 'prev' => array ( 0 => 'function.rrd-lastupdate.php', 1 => 'rrd_lastupdate', ), 'next' => array ( 0 => 'function.rrd-tune.php', 1 => 'rrd_tune', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/rrd/functions/rrd-restore.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

rrd_restore

(PECL rrd >= 0.9.0)

rrd_restoreRestores the RRD file from XML dump

Опис

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

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 в разі помилки.