# Transfer configuration to new Openhabian installation

**URL:** <https://community.openhab.org/t/transfer-configuration-to-new-openhabian-installation/33600>\
**Category:** Runtime\
**Tags:** openhabian\
**Created:** [August 25, 2017, 8:55am UTC](https://community.openhab.org/t/transfer-configuration-to-new-openhabian-installation/33600 "2017-08-25T08:55:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheNetStriker](https://community.openhab.org/letter_avatar_proxy/v4/letter/t/278dde/32.png) [@TheNetStriker](https://community.openhab.org/u/TheNetStriker)\
**Post date:** [August 25, 2017, 8:55am UTC](https://community.openhab.org/t/transfer-configuration-to-new-openhabian-installation/33600/1 "2017-08-25T08:55:21Z")

</div>

I’am currently running an older version of the OpenHabian image and would like to upgrade to the newest version. I’ve already setup the new image on a separate sd card and transfered the following folders:

/etc/openhab2  
/usr/share/openhab2/addons  
/var/lib/openhab2/habmin  
/var/lib/openhab2/jsondb  
/var/lib/openhab2/persistence  
/var/lib/openhab2/zwave

After that I set the correct file owners and rights and started OpenHab2. Openhab boots and seams to work, but there are several problems I don’t have on the older installation. (e.g. online state of things not correct, Z-Wave receives commands but sometimes doesn’t seam to send any commands back to the devices, problems with rules running more than 5000ms, etc.)

Did I miss to transfer something from the old installation or are there maybe any chaches that need to be cleared for the new installation to work properly? Maybe clear those folders completeley?  
/var/lib/openhab2/cache  
/var/lib/openhab2/tmp

Or do I also need to copy anyting from those folders?  
/var/lib/openhab2/etc  
/var/lib/openhab2/config

---

<div class="post-metadata">

**Author:** ![sihui](https://community.openhab.org/user_avatar/community.openhab.org/sihui/32/55674_2.png) [@sihui](https://community.openhab.org/u/sihui)\
**Post date:** [August 25, 2017, 9:02am UTC](https://community.openhab.org/t/transfer-configuration-to-new-openhabian-installation/33600/2 "2017-08-25T09:02:00Z")

</div>

Take a look at  
[http://docs.openhab.org/installation/linux.html#backup-and-restore](http://docs.openhab.org/installation/linux.html#backup-and-restore)

Depending on how old your installation is you should read the important announcements:

> **[Announcements](https://community.openhab.org/c/announcements/8)**
>
> General announcements from openHAB maintainers.

There have been some breaking changes …

> [@TheNetStriker](#):
>
> Maybe clear those folders completeley?

Yes.

---

<div class="post-metadata">

**Author:** ![TheNetStriker](https://community.openhab.org/letter_avatar_proxy/v4/letter/t/278dde/32.png) [@TheNetStriker](https://community.openhab.org/u/TheNetStriker)\
**Post date:** [August 25, 2017, 8:03pm UTC](https://community.openhab.org/t/transfer-configuration-to-new-openhabian-installation/33600/3 "2017-08-25T20:03:10Z")

</div>

Thank for the link. I tried to backup and restore everything with this script, but for some reason openhab starts without any UI’s. The main page just reads that UI’s are beeing installed, but nothing happens. Is something missing in the backup script or are additional steps required to restore all base bundles?

Edit: I already found the problem. For some reason my Openhabian lost the dns server and could not connect to the online repository.
