VeraPlus now extrooted
Backup from Edge was easily restored on VeraPlus, which was a pleasant surprise!
VeraPlus now extrooted
Backup from Edge was easily restored on VeraPlus, which was a pleasant surprise!
I tried your backup-script, but it didnât work on my newly extrooted VeraPlus:
Probably failed because I donât have mtdblock7 mounted, but any idea why that isnât mounted?
Your vera is on running on mtdblock6 instead of 7. You can just change the content of the script replacing 7 with 6.
thanks, but for the other users you could implement some kind of detection for the mount points into the script?
Yes I could get the script to do this. I am travelling at the moment so I may need another week before I get to it.
@tunnus Could you do me a favor and run a df -h after the block mount function so I can be sure I am getting the right mount point? Thanks!
here you go
Thank you. Please find the updated script attached.
Didnât work in my setup, a corrected version below:
#!/bin/sh
block mount
if [ -d â/mnt/mtdblock7/etcâ ]; then
PATH=â/mnt/mtdblock7/etc/cmh/â
MOUNT=â/mnt/mtdblock7â
elif [ -d â/mnt/mtdblock6/etcâ ]; then
PATH=â/mnt/mtdblock6/etc/cmh/â
MOUNT=â/mnt/mtdblock6â
else echo âerror, vera flash not mountedâ
exit 0
fi
/bin/cp -pv /etc/cmh/dongle* $PATH
echo âdongle copiedâ
/bin/cp -pv /etc/cmh/user_data* $PATH
echo âuser data copiedâ
/bin/umount $MOUNT
Huh yeah sorry I forgot to change the unmount point. Thanks.
well, there were a couple of other typos as well if u look closer
âŠand for some reason cp & mount commands needed full path
script updatedâŠ
@rafale77, your update contains an error, e.g.
cp -pv /etc/cmh/dongle* â$PATH/cmhâ
âŠthere should be $PATH/etc/cmh, also I think it would be better to use some other variable than PATH which is already in use. My suggestion below (this also echoes user where we found Veraâs flash drive):
#!/bin/sh
block mount
if [ -d "/mnt/mtdblock7/etc" ]; then
MOUNT="/mnt/mtdblock7"
echo "Vera flash found on $MOUNT"
elif [ -d "/mnt/mtdblock6/etc" ]; then
MOUNT="/mnt/mtdblock6"
echo "Vera flash found on $MOUNT"
else
echo "Error, Vera flash not mounted"
exit 0
fi
cp -pv /etc/cmh/dongle* $MOUNT/etc/cmh/
echo "dongle copied"
cp -pv /etc/cmh/user_data* $MOUNT/etc/cmh/
echo "user data copied"
umount $MOUNT
Could you update the first post in this thread and remove other instances of this backup script? Would be less confusion
Side note: if you precede and follow your code with three-backticks (```) on lines by themselves, youâll get code block style formatting and the indents should be preserved. It also wonât wreck the quotes, so people copy-pasting the code will have better luck.
Thanks for the advice!
Ok, I have read every comment in this thread. My vera edge goes offline daily with the IOS app saying that it is loading data and I am unable to connect. And, vera stops working. I have a couple of questions. I had a home invasion recently which could have been prevented if vera alerts had been able to send the motion detections from outside.
It almost sounds as if I would get some improvement by simply replacing my logging usb drive with the ssd drive without doing the exroot at this time. Is that true.
As noted I have the edge, will it be safe now to attempt to exroot my edge?
I would probably be willing to buy a vera plus if I didnât think I would have to exclude every device from the edge and include it into the vera plus. It sounds like the edge backup would restore all of the functionality to the vera plus. Probably have to get a new PLEG license.
I am stunned at all of the work you all have put into this improvement and extremely grateful. If someone could just answer the questions about excluding/including to go to vera plus, and whether just replacing my current log stick with an ssd would provide some immediate help for my edge. I havenât looked, is vera plus the latest model and what you would recommend?
I will have to study a little more to refresh my ssh skills. thanks everyone
Do not extroot a VeraEdge! You will brick it.
What @korttoma said. Donât do it⊠I havenât recovered mine yet so I donât know what went wrong with it on the edge.
You can backup your edge and restore it to a Vera Plus, I did that. You wonât have to exclude/include a single device, just remember to make a backup of the z-wave network as well.
Just by replacing your logging drive does not do any good.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules