Hi,
I use Domoticz installed on my Rpi (Raspbian). Lastly I bought Dell nettop and installed there docker (Ubuntu server 16.04). I started Domoticz installed on docker. I'd like to move my domoticz installation (domoticz, influxdb, grafana, etc) from Rpi to new installation on docker.
I'm newbe in Linux environment - so anybody can help me with some instruction or tutorial how to do it? Is it enough to copy domoticz folder to new place in docker?
Thanks in advance for you help.
Mac
Moving Domoticz from Rpi to Docker
Moderator: leecollings
-
- Posts: 54
- Joined: Saturday 16 August 2014 17:17
- Target OS: Linux
- Domoticz version: 3.6304
- Contact:
Re: Moving Domoticz from Rpi to Docker
Hi.
It depends what docker image you used.
I used docker image from linuxserver.io: https://hub.docker.com/r/linuxserver/domoticz
When you create docker container you must specify a -v parameter for a config path.
In this folder (let's say you specified /home/user/Config/domoticz) where user is a username, here is what you have in the folder.
domocookie.txt
domoticz.db
domoticz.db-shm
domoticz.db-wal
keys
ozwcache_0xc241b4d5.xml
OZW_Log.txt
plugins
scripts
zwcfg_0xc241b4d5.xml
zwscene.xml
In fact you have domoticz database, zwave log and conf if you have zwave on your home automation system, keys folder (for https), plugins and scripts folders where you copy plugins and scripts you actualy use.
Hope this will help.
It depends what docker image you used.
I used docker image from linuxserver.io: https://hub.docker.com/r/linuxserver/domoticz
When you create docker container you must specify a -v parameter for a config path.
In this folder (let's say you specified /home/user/Config/domoticz) where user is a username, here is what you have in the folder.
domocookie.txt
domoticz.db
domoticz.db-shm
domoticz.db-wal
keys
ozwcache_0xc241b4d5.xml
OZW_Log.txt
plugins
scripts
zwcfg_0xc241b4d5.xml
zwscene.xml
In fact you have domoticz database, zwave log and conf if you have zwave on your home automation system, keys folder (for https), plugins and scripts folders where you copy plugins and scripts you actualy use.
Hope this will help.
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Moving Domoticz from Rpi to Docker
this is very interesting.
but i have a question.
If i have a script sh thant runs in crontab every X minutes. In docker, how can i make it works?
thanks!
but i have a question.
If i have a script sh thant runs in crontab every X minutes. In docker, how can i make it works?
thanks!
Who is online
Users browsing this forum: No registered users and 1 guest