# Device mirror questions

**URL:** <https://syncloud.discourse.group/t/device-mirror-questions/333>\
**Category:** Access Issues\
**Created:** [21 April 2023 20:02 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333 "2023-04-21T20:02:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)\
**Post date:** [21 April 2023 20:02 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/1 "2023-04-21T20:02:24Z")

</div>

hi-  
I was looking at the instructions for setting up a mirrored device per [https://github.com/syncloud/platform/wiki/Device-Mirror](https://github.com/syncloud/platform/wiki/Device-Mirror)  
but a few of quick questions before I start:  
1 - do the devices need to be equivalent. in my case, I have a second system that is the same as the primary system. but just curious if it has to be matching.  
2 - do I have to activate the second system thru [syncloud.org](http://syncloud.org)?  
3 - so if my primary system dies, what is the process for moving to the second system. the github page doesn’t say anything on this.

thanks  
steve

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [23 April 2023 09:45 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/2 "2023-04-23T09:45:21Z")

</div>

> 1 - do the devices need to be equivalent. in my case, I have a second system that is the same as the primary system. but just curious if it has to be matching.

No.  
Mirroring happens by transferring backups from primary device using Syncthing and then restoring them by schedule. Because backups are now cross platform there is no need to have the same type of device. Of course apps need to support both devices, for example Rocketchat is not supported on arm32. The whole arm32 will go away at some point.

> 2 - do I have to activate the second system thru [syncloud.org](http://syncloud.org)?

Device has to be “activated” to know it’s dns name for apps to open correctly.  
We have three modes, Free and Premium require an account on syncloud.it for public dns updates. The third one called Custom does not require such account and lacks automatic public dns (so you have to know what you are doing)

> 3 - so if my primary system dies, what is the process for moving to the second system. the github page doesn’t say anything on this.

Let me update the wiki, but in case of losing the primary device the procesure is this:

1. Reactivate the secondary device on primary domain name (dns) so it becomes primary. Currently reactivation removes users so you will have to create them again (we need to fix that)
2. Get a new secondary device (depends on what went wrong)
3. Setup mirror backup again.

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [23 April 2023 09:53 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/3 "2023-04-23T09:53:58Z")

</div>

Just to clarify the disaster recovery plan, you do not have to do anything immediately after the disaster and just use secondary domain name. This is why I would suggest to have two working devices on free or premium plans:

Primary: name.syncloid.it  
Secondary: name2.syncloud.it

And test from time to time that name2.syncloid.it is up and running. (Probably we could automate that in some form)

In case of ipv4 network it is impossible to have more than one device behind a roiter on the same https/443 port, so secondary will be internal only.

---

<div class="post-metadata">

**Author:** ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)\
**Post date:** [23 April 2023 16:07 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/4 "2023-04-23T16:07:39Z")

</div>

ah, got it. thanks.

> 1. Reactivate the secondary device on primary domain name (dns) so it becomes primary. Currently reactivation removes users so you will have to create them again (we need to fix that)

that would be the 1 hiccup in this

> Device has to be “activated” to know it’s dns name for apps to open correctly.

activated, but external access not enabled. so my steps to move to the secondary device:

1. reactivate the secondary device on primary domain name
2. change router port 443 routing to secondary device
3. enable external access

good to go… sounds good to me, thanks.

---

<div class="post-metadata">

**Author:** ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)\
**Post date:** [29 April 2023 00:59 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/5 "2023-04-29T00:59:20Z")

</div>

got everything set and running. devices sync’d. question though: on the secondary device it’s just syncthing installed and nothing else? if i need to move to the secondary device, i would still need to install the apps, correct? or does it make sense to just go ahead and install all the apps i use on the primary device, would that cause any problems?

thanks

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [29 April 2023 07:31 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/6 "2023-04-29T07:31:21Z")

</div>

Correct, you can install apps on secondary and they should start showing the mirror data because of auto backup restore mode enabled.

If you do not install them now it will be possible to install when primary dies as backups are all mirrored, but I would install now to check from time to time.

---

<div class="post-metadata">

**Author:** ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)\
**Post date:** [29 April 2023 14:07 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/7 "2023-04-29T14:07:34Z")

</div>

sorry, my dumb question. mirror data of course apps need to be installed…  
from what i’ve tested so far, Nextcloud and Plex are good to go.  
Bitwarden data doesn’t seem to show up. must be something in the settings for the location of the vault maybe?

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [29 April 2023 22:34 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/8 "2023-04-29T22:34:27Z")

</div>

What error do you get?

---

<div class="post-metadata">

**Author:** ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)\
**Post date:** [30 April 2023 03:41 UTC](https://syncloud.discourse.group/t/device-mirror-questions/333/9 "2023-04-30T03:41:45Z")

</div>

No error, just no data. I’ll play around a bit more when i get some time. I was mainly interested in Nextcloud and Plex. And those seem to be good.
