Skip to content

feat: per-project backup paths#98

Merged
Philip-Larsen-Donnelly merged 1 commit into
feat/multiple-instancesfrom
mult-inst-back2
Apr 30, 2026
Merged

feat: per-project backup paths#98
Philip-Larsen-Donnelly merged 1 commit into
feat/multiple-instancesfrom
mult-inst-back2

Conversation

@Philip-Larsen-Donnelly
Copy link
Copy Markdown
Contributor

Scopes backup and restore paths to a per-instance subdirectory to support multiple instances on the same host.

  • Adds BACKUP_DIR ?= ./backups/$(PROJECT_NAME) to the Makefile, replacing the shared ./backups default. Can be overridden by passing a custom BACKUP_DIR on the command line (e.g. BACKUP_DIR=/mnt/nas/backups/prod PROJECT_NAME=prod make backup)
  • Passes BACKUP_DIR into the docker compose environment via BACKUP_COMPOSE_CMD so the compose file can interpolate it
  • Updates all four volume mounts in stacks/backup/docker-compose.yml from the hardcoded ./backups to ${BACKUP_DIR}

Backups for an instance named prod will now land in ./backups/prod/, by default, instead of ./backups/.

@Philip-Larsen-Donnelly Philip-Larsen-Donnelly merged commit b95b587 into feat/multiple-instances Apr 30, 2026
1 check failed
@Philip-Larsen-Donnelly Philip-Larsen-Donnelly deleted the mult-inst-back2 branch April 30, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants