Using openluup as an insurance policy when disaster strikes?

Hi,

I just spent an entire week rebuilding my vera lite after a failed upgrade. I posted some details about my recent misfortune here: [url=http://forum.micasaverde.com/index.php/topic,35034.msg258267.html#msg258267]http://forum.micasaverde.com/index.php/topic,35034.msg258267.html#msg258267[/url]

and then it struck me!

I could have saved loads of time by having an OpenLuup instance running as a backup of my primary Vera lite. (Fyi, I run OpenLuup in a virtual machine on my Synology Nas.) If OpenLuup can download all device & scenes information from my Vera, it should theoretically also be possible to send this info back to a freshly “factory resetted” clean Vera, right?

Am I correct in my assumption? If yes, can I ask for some guidance in how to accomplish this? If no, could this be possibly implemented in a future version?

Thanks a lot,

Jacques

Yes, I read about that.

I don’t see what it gives you that’s different from a normal restore from backup? I see that this didn’t work for you, though.

It’s certainly possible to recreate devices and scenes, although the difficulty is that you can’t specify the device numbering, except by some chicanery, so the scene operation will likely be wrong.

UI7’s native backup/restore function failed inexplicably and after 4 hours of trying I have lost enough faith in it to be looking for alternative solutions.

I can actually live with recreating scenes as device id’s while have changed. I don’t use that many scenes and the ones I use are pretty basic so I can document them relatively easily. Over the past week I spent the bulk of my time getting all my devices excluded & included again. Really nice to have to re-open wall switches and hunt for exotic inclusion/exclusion instructions from different devices. (kudos however to the green wave multi plug for the easiest inclusion process, just plug it in and press one button -:).

In other words, if I can recreate my devices by using OpenLuup I would say that sounds like a great improvement.

How would I go about doing this? Is it like creating a ‘reverse bridge’ from OpenLuup to Vera?

Well, there’s two parts to the problem here:

[ol][li]Luup devices and variables[/li]
[li]Zwave configuration[/li][/ol]

Whilst (1) is relatively easily done, the sticking point may well be (2) … I don’t know how to synchronize the virtual Luup devices with the physical Zwave ones.

Thank you. I think indeed the Z-wave configuration backup and restore will be the hardest bit. I will start to do some more testing.

This may be of interest too:

http://forum.micasaverde.com/index.php/topic,29627.msg209898.html#msg209898

Basically you keep all your scene code in one file. It also contains the device IDs accessed by the scenes in one place as well. A rebuild of scenes just needs a change to the scene numbering lookup table. In addition, doing this in bulk, may just be a matter of modifying the “user_data.json” file:

http://forum.micasaverde.com/index.php/topic,8314.msg53832.html#msg53832

@akbooer would have a better understanding, than myself of whether this is all that is required, to rebuild scenes.

@a-lurker: Thanks for the info. I will study this option in more detail.

You wouldn’t need to edit the user_data file since, unlike devices, you can do everything you want to do with scene creation / editing / deletion dynamically on a running system.