Database Setup
IntuneGet uses SQLite for self-hosted deployments - a zero-configuration, embedded database that requires no external services.
Overview
The self-hosted version of IntuneGet uses SQLite, providing:
No External Database Needed
Unlike the hosted version, self-hosted IntuneGet does not require any external database service. Everything is stored in a single SQLite file that is created and managed automatically.
Configuration
Configure the database using environment variables:
Docker Volume Mount
When using Docker, mount a volume to persist the database:
Persist Your Data
Always mount a volume for /data in Docker. Without a volume, the database will be lost when the container is recreated.
Database Schema
The database schema is created automatically. It includes these tables:
Backup & Recovery
Creating Backups
SQLite makes backups simple - just copy the database file:
Restoring from Backup
Automated Backups
Set up a cron job or scheduled task to backup the database regularly:
Viewing Data
You can inspect the database using any SQLite client:
GUI tools like DB Browser for SQLite or TablePlus also work well.
Migration from Hosted Version
If you're migrating from the hosted version (intuneget.com), note that job history and deployment records are not transferred. The self-hosted version starts fresh with an empty database.
Next Steps
The database is configured automatically. Continue with Docker deployment to get your instance running.
Continue to Docker Deployment