Your open-source, user-friendly data backup solution.
10K+
Minarca is an open-source, easy-to-use backup solution designed to provide secure, reliable, and efficient data protection. Built with simplicity and flexibility in mind, Minarca allows you to set up and manage backups for your data with ease. Whether you're an individual, a small business, or an enterprise, Minarca ensures that your critical data is safe and recoverable.
Minarca Server acts as the central hub for managing your backups. It supports various configurations, including local and remote backups, making it a versatile solution for diverse backup needs.
For more information and resources on Minarca, check out the following links:
The Minarca Server Docker image is available in multiple tags to suit different needs:
| Tag | Description |
|---|---|
7 | The latest release of major version 7. |
7.1 | The latest release of minor version 7.1. |
7.1.0 | A specific version release. |
7.1.0b1 | A beta release. |
7.1.0.dev30+g4502de8 | A development version. |
Check the Tags tab on Docker Hub for the full list of available versions.
To start the Minarca Server using Docker, use the following command:
docker run -d \
-p 8080:8080 \
-p 22:22 \
-v /path/to/backups:/backups \
-v /path/to/conf:/etc/minarca \
-v /path/to/logs:/var/log/minarca \
--privileged \
--restart always \
--name minarca-server \
ikus060/minarca-server:7.1.0
-p 8080:8080: Exposes port 8080 on your host machine for the Minarca web interface.-p 22:22: Exposes port 2222 on your host machine for SSH access by Minarca Agents.-v /path/to/backups:/backups: Maps the backup directory inside the container to a directory on your host machine.-v /path/to/conf:/etc/minarca: Maps the configuration directory inside the container to a directory on your host machine.-v /path/to/logs:/var/log/minarca: Maps the log directory inside the container to a directory on your host machine.--privileged: Ensures the container has enough privilege to create user namespace.--restart always: Ensures the container restarts automatically if it stops.Minarca Server relies on unprivileged user namespaces to isolate backup sessions and improve security. If you are running Minarca Server inside a container (e.g., LXC, Proxmox, or another virtualized/containerized environment), you must ensure that nesting and unprivileged user namespace creation are explicitly enabled on the host and/or the outer container. Without this, backups may not function as expected.
Without these settings, Docker containers running inside another container (such as an LXC container on Proxmox) may still be blocked from creating user namespaces by the outer container or host kernel policies. This can result in Minarca Server failing to properly sandbox backup operations.
For more details, refer to the official Minarca documentation: Enable Unprivileged User Namespace for Containers
If you prefer using Docker Compose, here's a sample docker-compose.yml file:
services:
minarca-server:
image: ikus060/minarca-server:7.1.0
ports:
- "8080:8080"
- "2222:22"
volumes:
# Location of the backups
- ./backups:/backups
# Configuration file and local database
- ./conf:/etc/minarca
# Application logs
- ./logs:/var/log/minarca
restart: always
privileged: true
environment:
MINARCA_BRAND_HEADER_NAME: Test Backup Server
# Define the URL to be used by users to connect to this container port 8080 running the webserver.
#MINARCA_EXTERNAL_URL: https://minarca.mycompagny.com
# Define the hostname and ip address to be used by Minarca Agent to connect to this container on port 2222 running SSH Server.
MINARCA_MINARCA_REMOTE_HOST: localhost:2222
Notes
By following these instructions, you can have Minarca Server up and running with minimal configuration, ready to manage your backup needs effectively.
Reminder: If this Docker host itself is running inside a virtualized container (Proxmox LXC, LXD, etc.), make sure to review the Enabling Nested Containers and Unprivileged User Namespaces section above before deploying.
Accessing the Minarca Server
Once the container is running, you can access the Minarca web interface by navigating to the external URL you defined in the MINARCA_EXTERNAL_URL environment variable (e.g., https://minarca.mycompany.com). From there, you can monitor backups and more.
If you prefer using PostgreSQL instead of SQLite database, here's a sample docker-compose.yml file:
services:
minarca-server:
image: ikus060/minarca-server:7.1.0
ports:
- "8080:8080"
- "2222:22"
volumes:
# Location of the backups
- ./backups:/backups
# Configuration file and local database
- ./conf:/etc/minarca
# Application logs
- ./logs:/var/log/minarca
restart: always
privileged: true
environment:
MINARCA_DATABASE_URI: postgresql://minarca:changeme@db/minarca
MINARCA_BRAND_HEADER_NAME: Test Backup Server
# Define the URL to be used by users to connect to this container port 8080 running the webserver.
#MINARCA_EXTERNAL_URL: https://minarca.mycompagny.com
# Define the hostname and ip address to be used by Minarca Agent to connect to this container on port 2222 running SSH Server.
MINARCA_MINARCA_REMOTE_HOST: localhost:2222
db:
image: postgres:15
environment:
- POSTGRES_PASSWORD=changeme
- POSTGRES_USER=minarca
- POSTGRES_DB=minarca
Content type
Image
Digest
sha256:35d97d09b…
Size
136.9 MB
Last updated
12 days ago
docker pull ikus060/minarca-server:patrik-hotfix