RRD Functions
PHP Manual

rrd_restore

(PECL rrd >= 0.9.0)

rrd_restoreRestore the RRD file from XML dump.

Description

bool rrd_restore ( string $xml_file , string $rrd_file [, string $options ] )

Restores the RRD file from the XML dump.

Parameters

xml_file

XML filename for the dump of original RRD database file.

rrd_file

Filename for the RRD file, which will be restored.

options

Array of options for restoring. See man page for rrd restore.

Return Values

Returns TRUE on success, FALSE otherwise.


RRD Functions
PHP Manual