Retrieve backups from veralite via ssh

My VeraLite took a dump this past weekend. The VeraLite shows a solid blue light and a solid green light, but no orange light. I wanted to do a factory restore to see if this will help solve my problem. Prior to doing the reset I wanted to make sure I had a backup to restore after the reset. Unfortunately I don’t have a recent backup. I am able to ssh into my vera and wanted to know if there is a way to retrieve a backup via ssh? I have a usb stick, but I think the logs are the only thing that are kept there.

Have you checked to see if the MCV servers have a recent backup? Unless you turned it off, this happens automatically every day. You will see the list on the SETUP → Backup tab after you have logged in through ACCOUNT → Login.

My Veralite does this frequently with no orange light. I just power cycle it and everything is back to normal. Have you tried turning it off and back on?

I’ve logged in, but I get the following message when I got to setup → backup.

steets250;

Yes I’ve power cycled the veraLite multiple times. With the same results.

Oh. Sorry!

So it looks like the IPhone app is causing some issues. Normally I’d remove the the app via the web gui, but since the vera is down, is there a way to remove the app via ssh?

To retrieve a backup via ssh, first you need to login via ssh, run this

backup-store.sh F

This will put a backup in /etc/cmh-backup/
Copy that using scp

Another option is:

cd /etc/cmh
cp user_data.json.lzo user_data.json.lzo-1
cp user_data.json.lzo.1 user_data.json.lzo-2
cp user_data.json.lzo.1 user_data.json.lzo
/sbin/reboot

See if that fixes it … If not then try:

cp user_data.json.lzo.2 user_data.json.lzo-3
cp user_data.json.lzo.2 user_data.json.lzo
/sbin/reboot

I’ll try your suggestions thanks guys!