User Tools

Site Tools


uphp:functions:nvram_backup

This is an old revision of the document!


nvram_backup

WMPRO, WMMINI FW >= 1.1015 WMMEGA FW >= 2.0

Backup the contents of non-volatile RAM (NVRAM) to a file on the SD Card

Description

nvram_backup ( string $filename )

Parameter

$filename: Full path and file name to store data

Return Values

int: number of bytes written or 0 if unsuccessful

Example

<?
  $res=nvram_backup("/mybackup.dat");
  if ($res > 0) {
    print("NVRAM Backup File Size: ".$res);
  } else print("Backup failed.");
?>

See Also

md5_restore() - Restore NVRAM contents from a file</html>

uphp/functions/nvram_backup.1494493352.txt.gz · Last modified: 2021/09/13 05:56 (external edit)