Page 1 of 1

Home Automation - Backup/Restore

Posted: 05 Jan 2015 13:41
by pz1
Sofar I have added some 40 Home automation elements (coded devices, scenes, schedules, rules,..) For the backup I regularly make images of the SD card. I somehow have the feeling that this is not the most appropriate method for backup. Am I overlooking somthing, or...

Is there some kind of comprehensive backup mechanism in the development pipeline?

Re: Home Automation - Backup/Restore

Posted: 08 Jan 2015 22:13
by pz1
Arghh.., Lost a whole bunch of scenes, schedules and rules on a system hanger of my Pi. Desparately need HA backup/restore.

Re: Home Automation - Backup/Restore

Posted: 10 Jan 2015 12:26
by pz1
It looks like the HA settings are stored in:
configjson-06b2d3b23dce96e1619d2b53d6c947ec.json

Is it safe to restore that file to: z-way-server/automation/storage ?

Additional question:
In this json file I detected "ghost devices" i.e. two devices that no longer exist. They are RoundRobinScene_58, DummyDevice_62, and many LightSene_xx. All were removed at some time, and apparantly not cleanded up?

Can I fix that in some way?

Re: Home Automation - Backup/Restore

Posted: 13 Jan 2015 02:02
by PoltoS
Yes, it is safe to restore this file.

Re: Home Automation - Backup/Restore

Posted: 15 Jan 2015 14:39
by pz1
PoltoS wrote:Yes, it is safe to restore this file.
But unfortunately it does not seem to restore lost functionality. See: viewtopic.php?f=3422&t=21104

Re: Home Automation - Backup/Restore

Posted: 19 Jan 2015 21:50
by PoltoS
Do it with server turned off

Re: Home Automation - Backup/Restore

Posted: 20 Jan 2015 15:55
by pz1
pz1 wrote:In this configjson file I detected "ghost devices" i.e. two devices that no longer exist. They are RoundRobinScene_58, DummyDevice_62, and many LightSene_xx. All were removed at some time, and apparantly not cleanded up?

Can I fix that in some way?
In one of my previous posts I had this question about probably orphaned elements in the configjson file