add option in sysupgrade to restore config from file or URL (patch from #4043)