# Community Backup & Restore for Homey v2 and Up! \[Alpha Version\]

**URL:** <https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727>\
**Category:** Apps\
**Tags:** app, webapp\
**Created:** [May 28, 2019, 6:32am UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727 "2019-05-28T06:32:46Z")\
**Posts on this page:** 18\
**Page:** 4

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [March 23, 2021, 4:23pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/66 "2021-03-23T16:23:14Z")

</div>

> [@Herve69](#):
>
> , is there a risk that I definitively corrupt the Homey

Since v2 Athom verifies all input on Homey. What I restore is what I backup so chances of corruption are almost nul.  
Guess same risk as that an Athom developer breaks something in the configuration due to bugs in the app.

And correct worst case is you need a factory reset if something goes wrong.

---

<div class="post-metadata">

**Author:** ![Herve69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/herve69/32/37183_2.png) [@Herve69](https://community.homey.app/u/Herve69)\
**Post date:** [March 23, 2021, 6:02pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/67 "2021-03-23T18:02:49Z")

</div>

Oky Dijker, that sounds great, thanks 🙂

---

<div class="post-metadata">

**Author:** ![K\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/k_s/32/11635_2.png) [@K\_S](https://community.homey.app/u/K_S)\
**Post date:** [November 12, 2021, 1:02pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/68 "2021-11-12T13:02:34Z")

</div>

I too tried to restore from a dead Homey 2018 model (backup from late 2019) to a new Homey Pro, but was only able to restore the Folders and Logic.

Does anyone know if the the devices can be added somehow via [https://tools.developer.homey.app/](https://tools.developer.homey.app/) from details in the json files?

(That would allow me to avoid having to tear the house apart to get to all the relays in walls, etc.)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 6, 2022, 2:11am UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/69 "2022-07-06T02:11:36Z")

</div>

Hi @Dijker ,  
Is community backup capable to store and retrieve advanced flows?

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [July 6, 2022, 5:50am UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/70 "2022-07-06T05:50:03Z")

</div>

> [@Gruijter](#):
>
> Is community backup capable to store and retrieve advanced flows?

Nop, not yet,  
Store will probably not the most complex but restore is, like restoring the standaard Flows,  
Specially when Devices have been removed / recreated.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 6, 2022, 5:21pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/71 "2022-07-06T17:21:43Z")

</div>

For me downloading a backup of all config, including adv flows, would be enough.  
I use the backuped json files to search for where e.g. variables or flows are used.  
Is there a way to download all config already?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 6, 2022, 7:07pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/72 "2022-07-06T19:07:42Z")

</div>

Not sure if you look for this, but for AdvFlow you can use this command [here](https://tools.developer.homey.app/tools/api-playground):

 ![Screenshot from 2022-07-06 21-06-31](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/6/86eb8246a057c02966d84d732359bdae3e056856.png)

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 7, 2022, 6:14am UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/73 "2022-07-07T06:14:42Z")

</div>

Thanks, looks exactly what I was looking for.

Maybe I can get all info using the web API; standard flows, variable names, etc. Then I do not need the “Backup and restore” at all, as I will not use it fore restore, only to go analyse my config.  
Will dive into this.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 7, 2022, 1:08pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/74 "2022-07-07T13:08:56Z")

</div>

Yes, didn’t think of it before 😉  
The “geeky one liners” are a nice start [Developer Web API Playground - Notes of geeky oneliners - #8 by tb1962](https://community.homey.app/t/developer-web-api-playground-notes-of-geeky-oneliners/24392/8)

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 25, 2022, 8:35am UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/75 "2022-07-25T08:35:57Z")

</div>

The “Web API for developer” is terrible slow when e.g. fetching all devices, or should I say the browser is very slow in handling the result.  
Is there another way to do this?  
I would like to fetch the flows, devices, variables, etc and put them in some file on my PC.  
Is it possible to do this via node.js and the SDK?  
Homeyscript and webhook (maybe too much info for a GET?)?  
SSH login and issuing the comands?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 25, 2022, 9:55am UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/76 "2022-07-25T09:55:50Z")

</div>

> [@Anders\_Gregow](#):
>
> Is it possible to do this via node.js and the SDK?

No.

> [@](#):
>
> Homeyscript and webhook (maybe too much info for a GET?)?

Not without using the Web API.

> [@](#):
>
> SSH login and issuing the comands?

Homey isn’t open, you’re stuck with the Web API.

I never really checked, but getting all devices on my Homey is extremely unstable: sometimes it takes 85ms, sometimes 950ms. And that’s on a Homey that only has 20 devices and basically does nothing 😵

I used this code in the [Web API Playground](https://tools.developer.homey.app/tools/api-playground):

```auto
void async function() {
  console.time('getDevices');
  const devices = await Homey.devices.getDevices();
  console.timeEnd('getDevices');
  console.log(Object.keys(devices).length);
}();

```

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [July 25, 2022, 10:11am UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/77 "2022-07-25T10:11:50Z")

</div>

Ok, thanks for your clarification.  
Do you also experience that the browser hangs for a very long time before showing all devices?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 25, 2022, 10:22am UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/78 "2022-07-25T10:22:07Z")

</div>

> [@Anders\_Gregow](#):
>
> Do you also experience that the browser hangs for a very long time before showing all devices?

Not really, but I only have 20 devices.

---

<div class="post-metadata">

**Author:** ![mats\_karlsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mats_karlsson/32/7887_2.png) [@mats\_karlsson](https://community.homey.app/u/mats_karlsson)\
**Post date:** [March 4, 2023, 9:54pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/79 "2023-03-04T21:54:02Z")

</div>

Hello I have sucided to do a backup (at least got a zip with json with my stuff in).  
But when I tried to remove a zon and change a flow and then read in the stored file market sepretly the zon and tried to restore and the flow the vchanges does´t come back?  
Do I need to restart?  
the warning of that it don´t work on 2.0 and click to confirm is not disepering if that could be the problem. have a homey early 2018 and run it on crome browser

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [July 7, 2023, 12:28pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/80 "2023-07-07T12:28:33Z")

</div>

Hi @Dijker is still someone using it ? I’m, as kind of backup of the backup 🙂 , recently realized that possible backups got somehow truncated on HP2023 - eg. some advanced flows are missing.

_update_ nevermind, seems it’s broken completely as it loads indefinitely for me…

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/0/8076dc65bd3c8bcda25894c243f07f17fc08e06c.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 7, 2023, 1:33pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/81 "2023-07-07T13:33:58Z")

</div>

> [@Sharkys](#):
>
> _update_ nevermind, seems it’s broken completely as it loads indefinitely for me…

I think it’s the same issue as with the the Comm. app store: you can login using Homey CLI afaik. And the CLI has been updated/changed by Athom, so login = impossible

---

<div class="post-metadata">

**Author:** ![Koos\_Hendriks](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koos_hendriks/32/29781_2.png) [@Koos\_Hendriks](https://community.homey.app/u/Koos_Hendriks)\
**Post date:** [August 30, 2023, 7:09pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/82 "2023-08-30T19:09:29Z")

</div>

> [@Sharkys](#):
>
> _update_ nevermind, seems it’s broken completely as it loads indefinitely for me…

I have the same loading indefinitely problem on Homey 2019, the last time I used it was on 2 april 2023.

[https://cli.athom.com/?port=64102&clientId=5bd33e9b9c99fc4f8d0bc231](https://cli.athom.com/?port=64102&clientId=5bd33e9b9c99fc4f8d0bc231)

Directs me to Homey CLI OLD

![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f2a9173e488f4221f1d45c3b1a15d82122e7d23e.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 30, 2023, 8:18pm UTC](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727/83 "2023-08-30T20:18:31Z")

</div>

It’s called Homey CLI _Old_ because

> [@Peter\_Kawa](#):
>
> it’s the same issue as with the the Comm. app store: you can login using Homey CLI afaik. And the CLI has been updated/changed by Athom, so login = impossible

[Previous page](https://community.homey.app/t/community-backup-restore-for-homey-v2-and-up-alpha-version/13727.md?page=3)
