WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Restore the contents of NVRAM from a file
$filename: Full path and file name to restore from
Integer number of bytes restored, or 0 if unsuccessful
<? $res=nvram_restore("/mybackup.dat"); if ($res > 0) { print("NVRAM Restore complete. File Size: ".$res); } else { print("Restore failed."); } ?>
nvram_backup() - Backup the contents of NVRAM to a file on the SD Card