August 17Aug 17 Backing up ISY is one of those things we all know we need to do but tend to neglect. It occurred to me that perhaps UD mobile could have a feature that backs up your ISY to your phone's storage. Perhaps each time you launch UD mobile, it looks for your latest backup and if it is older than some period of time (that you can set), then it runs a backup. Now you have an "offsite" backup of your ISY configuration immune to any hardware failure on the Eisy itself.
August 17Aug 17 That's a good idea, but a backup like the one we do in Admin Console would also be great to automate, something like do one automatically when logging into Admin Console if the previous one is more than so many days or weeks old.
August 17Aug 17 Author 3 hours ago, Guy Lavoie said:That's a good idea, but a backup like the one we do in Admin Console would also be great to automate, something like do one automatically when logging into Admin Console if the previous one is more than so many days or weeks old.Yeah, a message when you open the admin console that tells you how long since the last backup and a link to "backup now" would be another way. Probably easier to implement than UD mobile since currently UD mobile has no backup isy function, just backup your ud mobile. But since some people may go a really long time without opening the admin console but may open UD mobile daily, more likely to get a backup to a storage location that you are sure to have handy. I end up accessing my admin console from a number of computers and have my backups all scattered about and then losing track of where the most recent one is when you need it might be an issue. But certainly better than having no backup or only ancient ones.
August 18Aug 18 Author 5 hours ago, Javi said:Periodic backups is being considered as a portal feature.So the backup is stored on your server? And this happens whether you log in or not?
September 29Sep 29 that's great if it was an option.Is there any notes for those of us that are unix natives? Eg I would like to point bareos directly at it, I don't think I want to build the client and run it on there but I culd make a script that grabs stuff via ssh and then mirrors it to my local linux machine and backs that up.Is that even a valid type of backup? If so, what folder should be grabbed for IoX and PG3x? Is it even possible to restore from something like that in a disaster?
September 29Sep 29 1 hour ago, brockp said:that's great if it was an option.Is there any notes for those of us that are unix natives? Eg I would like to point bareos directly at it, I don't think I want to build the client and run it on there but I culd make a script that grabs stuff via ssh and then mirrors it to my local linux machine and backs that up.Is that even a valid type of backup? If so, what folder should be grabbed for IoX and PG3x? Is it even possible to restore from something like that in a disaster?Or /api/system/backup/create which will respond with the endpoint of the zip file /api/system/backup/download
November 6Nov 6 Cool decoding looks like we need a token to run the backup, and the token is short-lived. Is there a way to get a cred that's longer lived than having to store your username & password with the script? Or anything that's more limited in its ability.It's kinda ironic because you are generating a backup that in theory, has everything that having that credential would let you get to.
November 6Nov 6 Without raw creds it would need an oAuth or JWT implementation for refresh, via refresh token. Similar to how the mobile app works.
Sunday at 03:51 AM4 days Thanks! With that, I was able to make something that appears to work. I dumped it in cron it includes zwave (almost all insteon and some zwave) but didn't check anything else. eisy-backup.sh --login username# prompt for passwordeisy-backup.sh # takes backup without keeping a passwordIf anyone uses this looks like refresh tokens are for 30 days so if you don't run for 30 days you will have to do --login again. I added it to cron and from there get picked up by Bareos to write to tape and offsite. eisy-backup.sh
Sunday at 05:13 AM4 days Author I made a plugin to do backups. Saves them to your google drive account. You can trigger the backups from programs, so easy to put on a schedule.
Sunday at 07:19 PM4 days 14 hours ago, apostolakisl said:I made a plugin to do backups. Saves them to your google drive account. You can trigger the backups from programs, so easy to put on a schedule.I just realized this thread is in the UD Mobile, as someone who recently updated their phone and forgot that you have to do a backup and needing to re-create everything, while waiting for a new app (mentioned at the townhall/roadmap this week) was your plugin for UD Mobile? I'm on iOS.
Monday at 01:05 PM3 days Author 17 hours ago, brockp said:I just realized this thread is in the UD Mobile, as someone who recently updated their phone and forgot that you have to do a backup and needing to re-create everything, while waiting for a new app (mentioned at the townhall/roadmap this week) was your plugin for UD Mobile? I'm on iOS.Topic wandered a bit. I made a plugin for eisy that backs up eisy, not ud mobile.
Create an account or sign in to comment