Backup and Restore

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
nic_rt
Posts: 30
Joined: 26 Sep 2015 15:00

Backup and Restore

Post by nic_rt »

After a quick look to the forum, I feel that there is not a topic dedicated to the backup. May be it's easier now but few month ago I've lost all my configration even with a backup made from the expert UI and with a backup of the z-way-server folder...

My question is : is there a way to make a full backup allowing to restore fully, easily and securely, for instance after a crash of the raspberry SD card ?

May be good to have other's feedback and at the end a summary of the "ideal" process for backup and restore...
Nick


Raspberry + Razberry + FGS221 x 4 + FGRM 222 + Aeon Labs Micro Motor Controller + FGK 101 + Z-Wave Aeotec Smart Plug-in Switch GEN5 + Minimote + Aeotec KeyFob + Greenwave Smart Power Node x 2
remoticz
Posts: 45
Joined: 07 Oct 2015 20:35
Location: no

Re: Backup and Restore

Post by remoticz »

Imho backup/restore in principle does not need a process description since it is so fundamental to a system. Should be just one "button".

The Zway designers see that differently. They only made some Z-Wave backup restore in the ExpertUI subsystem, and forgot about it for the smarthome/home automation part. I learned in the meantime that it may be good to save the contents of folder automation/storage. But that is not something you want to bother users with.

I did search in the Developers manual for the words backup, restore. Only restore was found in the index under TODOs
TODOs: check cap 2,2.1,2.2, describe Restore Function
Unfortunately it only refers to restore Zwave chip to factory defaults :?
v2.1.1 raspi2
bshure
Posts: 9
Joined: 28 Jun 2015 20:05

Re: Backup and Restore

Post by bshure »

I back up my RaspberryPi's two ways.

Every week I use a slightly modified backup script from here: http://sysmatt.blogspot.com/2014/08/bac ... -your.html

This makes a large compressed tarfile on a USB stick that can be restored to another microSD card with another script from the same source. The USB stick is large enough to hold several backups and all "scratch" data and data that will get moved somewhere else. I figure that this will make my boot microSD card last longer.

When the script finishes it copies the compressed file to my fileserver.

Every night I run another script that uses rsync to make an exact copy of the running microSD card to another card in a USB reader. https://github.com/billw2/rpi-clone

At least monthly I try booting off the backup microSD card and making a new microSD card from my big tarfile.

This takes up two of my four USB ports but it works for me. I have a low profile microSD to USB adapter and low profile USB stick that don't stick out too far. I use the ext4 filesystem on the USB stick and bought a ext4 utility for my Mac.

Cheers,

Bert
Sattaz
Posts: 1
Joined: 18 Apr 2020 20:59

Re: Backup and Restore

Post by Sattaz »

Hi,

Check this out!
After some time spent to get a backup / restore finaly working, I deciced to create a small app:
https://domotic-hobby.com/download/uzb1-cloner

Let a comment on my web site, I would love reading you.

Thanks.

Sebastien
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Backup and Restore

Post by PoltoS »

Great!
Post Reply