Nevermind. It works now. The correct function is: lora.nvram_save() and lora.nvram_restore()