GoLang rrd_restore

request it (124)
GoLang replacement for PHP's rrd_restore [edit | history]



Do you know a GoLang replacement for PHP's rrd_restore? Write it!

PHP rrd_restore

PHP original manual for rrd_restore [ show | php.net ]

rrd_restore

(PECL rrd >= 0.9.0)

rrd_restoreRestores the RRD file from XML dump

Description

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

Restores the RRD file from the XML dump.

Parameters

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.

Return Values

Returns TRUE on success, FALSE otherwise.