/scan inside the container. To back up more than one location, add one volume entry per folder. Your files stay where they are on your computer, including on other drives.
The folders don’t need to be related. One Scout can back up your home folder, system settings in /etc, an app’s data folder, and a second drive side by side.
Each entry has the form:
"/etc:/scan/etc" makes /etc appear as /scan/etc in Scout. On Windows, use forward slashes in Compose, such as "C:/ProgramData/MyApp:/scan/app-data".
Set it up
1
Open docker-compose.yml
Find the
volumes: section under the scout service.2
Replace the single-folder entry
Remove this line:and add one entry per folder in its place. Give each a different name under Keep the other volume entries unchanged.
/scan:- Linux
- Windows
docker-compose.yml
3
Update .env
Remove
SCAN_DIR from .env, since the entries above now name the folders directly. If you set SCAN_ROOT, keep it at /scan.4
Recreate the container
From the folder with the Compose file:
5
Choose what to back up
Refresh Scout’s UI. The folder browser shows one folder under Create jobs for the folders you want. See Backup jobs.
/scan per entry, for example:Add another drive later
Add another line to the samevolumes section, recreate the container, refresh Scout, and create a job for the new folder:
- Linux
- Windows
Back up whole drives
You can mount a whole drive instead of one folder on it. Give each drive its own name under/scan:
- Linux
- Windows
Mount Docker includes drives mounted inside a mounted folder. If
/home and /etc alongside each additional drive’s mount point:/mnt/data is inside /, mounting / already shows it at /scan/root/mnt/data. Mounting it separately as well shows the same folders twice, so a job there would appear twice with the same name. Mount each drive in one place only: either mount / alone, or mount the folders you need from it, such as /home and /etc, next to your other drives.Switching from one drive mounted as /scan
If SCAN_DIR points at a whole drive today, check how the new mounts change your folder paths. On Linux, /scan/home/alice stays at the same path with /home:/scan/home. On Windows, /scan/Users/Alice becomes /scan/c/Users/Alice.
- Existing jobs in mounted folders keep working. Their settings are stored in the folders, so Scout finds them through the new mounts. Folders outside those mounts are no longer visible.
- Job names stay the same, so each job’s history on Station continues. If a job’s path changes, the next cycle may upload it again, because Scout tracks local state by path.
- Check Max Depth. Raise it by 1 if the new mount adds a path level so deep jobs are still found.
Things to know
- Job names must be unique across all mounted folders. The mount names, such as
homeandetc, don’t separate same-named jobs on Station. If two folders would both be calledconfig, name the jobshome-configandetc-config. - Mounts need write access for Scout to save markers and restore files. Scout writes its
.upload_dirmarker into each job’s folder, including system folders such as/etc. - Scout runs as root inside the container, so it can read root-only files such as those in
/etc. - Max Depth counts the extra level. The
/scan/<name>folders add one level, so raise Max Depth in settings if your markers are deep. - Moving an existing folder under a new mount? Keep its job name so its history on Station continues. Scout tracks local state by path, so the next cycle may upload it again.
- Docker Desktop must share the folder. If it reports that a folder is “not shared from the host”, add it under Settings > Resources > File sharing.
app/scout/.