Configuration Backup and File Location with Docker

Hi there, I'm trying to figure out where the data for Homarr is stored when installed via docker compose on windows. The Homarr section for my docker-compose.yml looks like this:
homarr:
image: 'ghcr.io/homarr-labs/homarr:latest'
container_name: homarr
restart: unless-stopped

volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./homarr/appdata:/appdata
environment:
- SECRET_ENCRYPTION_KEY=
ports:
- '7575:7575'
homarr:
image: 'ghcr.io/homarr-labs/homarr:latest'
container_name: homarr
restart: unless-stopped

volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./homarr/appdata:/appdata
environment:
- SECRET_ENCRYPTION_KEY=
ports:
- '7575:7575'
When I navigate to the corresponding folders I see a folder named db with a db.sqlite file inside. Is this file the data Homarr uses to store things like integrations, apps, boards, and board configurations, or am I missing something? Notes: I've double checked all my folder permissions and tested (successfully) that docker has the permissions required to create files and folders within the relevant drive.
Solution:
Yes, we use sqlite by default
Jump to solution
4 Replies
Cakey Bot
Cakey Bot5w 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?
Solution
Manicraft1001
Manicraft10015w ago
Yes, we use sqlite by default
Manicraft1001
Manicraft10015w ago
./homarr/appdata is a relative path, so it depends on where you executed the compose commands from or from where your Portainer is running from If you want to backup, you just need to copy the appdata contents. Try restoring the appdata on another system to practice the restore processes.
Socks🐝
Socks🐝OP5w ago
Thanks!

Did you find this page helpful?