Thinking about migrating from prox mox LXC to Docker container

With the recent issues with PVE installer scripts(I was able to successfully update to lates) i want to potentially move my container to docker compose ... but i am not exactly sure what i would need to back up from the current LXC > paste into the volumes of the docker compose container... would it be something in /opt/homarr ? tried this but it did not work... and made me start from scratch after pasting everything into /opt/homarr from the LXC. services: homarr: image: ghcr.io/ajnart/homarr:latest container_name: homarr ports: - 7575:7575 volumes: - /opt/homarr/data:/app/data environment: - SECRET_ENCRYPTION_KEY= restart: unless-stopped I also pasted this from the LXC in the new docker VM directories and this still had me starting from scratch after deploying the docker container /opt/homarr_db/migrations/ total 20 drwxr-xr-x 4 root root 4096 Apr 14 11:28 migrations drwxr-xr-x 3 root root 4096 May 18 17:20 mysql -rw-r--r-- 1 root root 267 Mar 1 11:55 run-seed.ts -rw-r--r-- 1 root root 2646 Mar 1 11:55 seed.ts drwxr-xr-x 3 root root 4096 May 18 17:20 sqlite (Im really stupid so be kind plz)
25 Replies
Cakey Bot
Cakey Bot3mo ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Manicraft1001
Manicraft10013mo ago
@CrazyWolf13
CrazyWolf13
CrazyWolf133mo ago
@Manicraft1001 Unsure if this is something that homarr supports, but in general export/import/backup feature homarr-native would be a nice thing, shall I create a Feature Request for this? generally the homarr db is located in /opt/homarr_db, homarr credentials are located in /opt/homarr/.env about the migration I'm not exactly sure what you need to do there.
Manicraft1001
Manicraft10013mo ago
Also please note that you're still running the legacy version. We do no longer provide support for it. Please upgrade to 1.0 as soon as possible Regarding migration, follow the blog guide on our website carefully
CrazyWolf13
CrazyWolf133mo ago
are you sure he is? ah the docker
Manicraft1001
Manicraft10013mo ago
No description
Walter H. White
Walter H. WhiteOP3mo ago
i have plenty of backups of the LXC so im not worried about accidentally breaking it, but ya i would like to just move to docker since i already have a bunch of docker containers. my version: 1.16.0 oh i see
CrazyWolf13
CrazyWolf133mo ago
he meant you used the wrong docker image, new one ghcr.io/homarr-labs/homarr
Manicraft1001
Manicraft10013mo ago
And your mounts are incorrect too
Walter H. White
Walter H. WhiteOP3mo ago
figured haha
Manicraft1001
Manicraft10013mo ago
Just look at the documentation again and copy the compose from there.
CrazyWolf13
CrazyWolf133mo ago
Docker | Homarr documentation
Docker is our recommended installation method for beginners and professionals.
Manicraft1001
Manicraft10013mo ago
And note that the mounted data from 0.15.10 is not compatible with 1.0 directly. If you already ran 1.16.0 before, that shouldn't be an issue though
CrazyWolf13
CrazyWolf133mo ago
@Manicraft1001 is backup/export/import a planned thing or shall I create a FR on Github?
Manicraft1001
Manicraft10013mo ago
At the moment not planned. There should be an open issue
CrazyWolf13
CrazyWolf133mo ago
GitHub
feat: Ability to export or backup; specifically config and boards. ...
Describe the feature you'd like to request I used the 0.15.15 to export my boards. I would love to have this feature put in the new version, as well as backup the config. Thanks. Additional inf...
Walter H. White
Walter H. WhiteOP3mo ago
are you saying follow this for migrating the helper script LXC v1.16.0 > docker? if so: https://homarr.dev/blog/2025/01/19/migration-guide-1.0
Migrate from 0.15.10+ to 1.0.0 | Homarr documentation
In this guide, we will show you how to migrate from Homarr 0.15.10+ to 1.0.0.
No description
Walter H. White
Walter H. WhiteOP3mo ago
in regards to exporting my data but im gathering that i cannot do this anyway until the above feature implemented
Manicraft1001
Manicraft10013mo ago
You must upgrade to 0.15.10 to export data
CrazyWolf13
CrazyWolf133mo ago
he is at that version he is at 1.16.0
CrazyWolf13
CrazyWolf133mo ago
you sadly cannot use that guide, as you already are in version v1. And due to version v1 not yet having an export/backup function you have 3 options: 1.) Stay in Proxmox LXC 2.) Start from scratch with docker 3.) Try to copy the db and credentials to a new docker container using a docker container like described here: https://homarr.dev/docs/getting-started/installation/docker , however I from community-scripts can't really assist in this process, this is in the matter of homarr team ^^
Docker | Homarr documentation
Docker is our recommended installation method for beginners and professionals.
CrazyWolf13
CrazyWolf133mo ago
correct me if I'm wrong @Manicraft1001
Walter H. White
Walter H. WhiteOP3mo ago
starting from scratch would be scary haha, but ya i may have to do that for now. I was on homarr docker compose for a while before migrating to prox mox. But i am using docker now more ON prox mox. And i am not sure i saved my oldbackups anywhere sadly. thank you for your alls help! i will keep watch here and on the hub and i will experiement w option 3 as well
Manicraft1001
Manicraft10013mo ago
No, you're correct I was just getting confused by the docker compose
Walter H. White
Walter H. WhiteOP3mo ago
sorry about that hah

Did you find this page helpful?