How do I make a back up copy of Z-NET image? It is V2 with 1.0.23 firmware.
Announcement
Collapse
No announcement yet.
How to backup Z-NET image
Collapse
X
-
Easiest way is rpi-clone
https://github.com/billw2/rpi-clone
I have this set up to run once/day.
Alternately, use Win32DiskImager
https://sourceforge.net/projects/win32diskimager/
This requires disassembly to move the SD card to a PC of course.
-
Originally posted by zwolfpack View PostEasiest way is rpi-clone
https://github.com/billw2/rpi-clone
I have this set up to run once/day.
Alternately, use Win32DiskImager
https://sourceforge.net/projects/win32diskimager/
This requires disassembly to move the SD card to a PC of course.
Thank you for the info. I made a backup image with Win32DiskImager and verified it works.
Can you run rpi-clone on Windows as well or it has to be on another rpi?
Comment
-
rpi-clone doesn't run on Windows, it runs on the Raspberry Pi that you want to back up. It clones the active SD card to another card without having to remove the card. Another nice feature is that after the initial run, only changed areas are copied so subsequent runs typically take only seconds.
Comment
-
David understands the underlying architecture of the Z-Net better than most, but it is important to realize that the Z-Net operating system is static. The only time the image changes is when you edit the Ethernet/Wifi settings or HomeSeer pushes out an update. Once you have yours configured and take an image of it, you will not need another unless you update the software or IP settings. Nothing is written to the SD card during normal operation. All Z-Wave node and routing information is stored on the GPIO daughtercard and nothing is written to the SD card. Z-Wave backups are stored on the HS host machine.HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon
Comment
-
This also brings to mind the discussion of static IP assigned in the Z-Net vs DHCP reservations in the router. Since I use DHCP reservations in my router, all three of my Z-Nets grab their IP address from the router reservation. If I have a failure in an SD card, slipping in a freshly imaged SD card will get my Z-Net up and running at the same address.HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon
Comment
-
I was finally able to log into both my z-nets and I want to create an image of the SD card. I saw @zwolfpack comment about rpi-clone but first I need to install it on both z-nets.
Can someone post the commands to download the needed files please? I think that from the link I can figure out how to run the basic rpi-clone but first I need to install it.
sudo apt-get ???
Comment
-
Originally posted by racerfern View PostI was finally able to log into both my z-nets and I want to create an image of the SD card. I saw zwolfpack comment about rpi-clone but first I need to install it on both z-nets.
Can someone post the commands to download the needed files please? I think that from the link I can figure out how to run the basic rpi-clone but first I need to install it.
sudo apt-get ???
To install, download the attached zipfile to the rpi, then execute these commands:
unzip rpi-clone-batch.zip
make install
This installs rpi-clone and enables it to run once a day (cron job). You will need to run it manually the first time because the cron job won't write to a disk unless the labels match (to avoid accidental overwrites).
To run manually,
sudo rpi-clone -U -f sda
rpi-clone-batch.zipLast edited by zwolfpack; June 12, 2019, 11:35 PM.
Comment
-
BTW, here is a good card reader for the rpi:
https://www.amazon.com/dp/B012D3A4FM...I16Q9EA7Y0MEXI
Comment
-
@zwolfpack - The rpi-clone method worked perfectly on both z-nets. I expected it to work on my RPi3 with zigbee board but I got the following error. Thoughts?
pi@pi:~/rpi-clone $ sudo rpi-clone -f sda
Cannot find 'sda' in the partition table. The partition table is:
major minor #blocks name
1 0 4096 ram0
1 1 4096 ram1
1 2 4096 ram2
1 3 4096 ram3
1 4 4096 ram4
1 5 4096 ram5
1 6 4096 ram6
1 7 4096 ram7
1 8 4096 ram8
1 9 4096 ram9
1 10 4096 ram10
1 11 4096 ram11
1 12 4096 ram12
1 13 4096 ram13
1 14 4096 ram14
1 15 4096 ram15
179 0 31166976 mmcblk0
179 1 1646295 mmcblk0p1
179 2 1 mmcblk0p2
179 5 32767 mmcblk0p5
179 6 67584 mmcblk0p6
179 7 29413888 mmcblk0p7
Comment
Comment