Sure. But only with the Docker version and “Docker Desktop.”
1. Download and install Docker Desktop for Windows:
https://docs.docker.com/desktop/setup/install/windows-install/
2. Give Docker Desktop full access rights on your Windows PC.
3. Download the ZIP file Bmus-Docker.zip and unzip it.
4. Go to the folder where you unzipped Bmus-Docker.zip.
5. Open the Yaml and replace it with this:
services:
bmus:
image: backmeupscotty/bmus:latest
container_name: bmus_backup
restart: unless-stopped
privileged: true
cap_add:
- SYS_ADMIN
- DAC_READ_SEARCH
environment:
- TZ=Europe/Berlin # change to your time zone
volumes:
- ./config:/config
# MAP YOUR WINDOWS DRIVES HERE:
# Format: Drive:/Path:/host_root/Path
- C:/Users/YourName:/host_root/YourName:ro
# External Drive D:
#- D:/Photos:/host_root/D/Photos:ro
6. Change to the /config folder
7. Open bmus.conf and configure it according to your preferences.
IMPORTANT: The most important difference is how you mount the drives. Windows uses drive letters (C:), Linux does not. Linux runs in the container. This means that you cannot use C:\ paths or backslashes \ in your configuration. You must specify the paths as they appear in the container.
Incorrect (Windows thinking):
BACKUP_SOURCES=(“C:\Users\YourName\Documents”)
Correct (Linux/Docker thinking):
BACKUP_SOURCES=(“/host_root/YourName/Documents”)
8. Remember to edit msmtp.conf (smtp config for mail reports), bmus_credentials (credentials to your NAS), and bmus_geocryptfs (Password file for encrypted backups).
9. Switch back from the /config folder to the root folder of the Bmus-Docker directory.
cd C:\Users\YourName\Bmus-Docker
10. Now you need to start loading and building the Docker image.
11. Enter the following command (CMD or PowerShell):
docker compose up -d
12. Once the image has loaded and appears in Docker Desktop, you are ready to proceed.
13. Open Notepad, copy the following code and save it to the root folder of Bmus-Docker as bmus.bat:
@echo off
REM ==========================================
REM BmuS wrapper for Windows
REM Forward commands to the Docker container
REM ==========================================
docker exec -it bmus_backup env CONFIG_FILE="/config/bmus.conf" /app/bmus.sh %*
14. Run Bmus for your first backup.
Type
bmus.bat
or send the command into the container
docker exec -it bmus_backup env CONFIG_FILE="/config/bmus.conf" /app/bmus.sh
Optional:
If you want to call BmuS from anywhere (without always having to navigate to the folder first), you must add the folder containing the .bat file to the Windows PATH variable.
- Press the Windows key + R, type sysdm.cpl, and press Enter.
- Go to the
Advanced tab -> Environment Variables.
- In the lower section (“System variables”), find the line Path and click
Edit.
- Click New and paste the path to your folder (e.g.,
C:\Users\YourName\Bmus-Docker).
- Confirm everything with OK.
If you then restart your terminal, you can simply type bmus wherever you are, and Windows will find the script automatically.