Skip to content

Multiple Compose Projects: RuntimeError: Backup process already running #62

@igolman

Description

@igolman

Hi,

when I start backup from 2 different docker compose projects simultaneously (each project has own stackback instance), I got the following error:

Traceback (most recent call last):
  File "/restic-compose-backup/.venv/bin/rcb", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/restic-compose-backup/restic_compose_backup/cli.py", line 36, in main
    backup(config, containers)
  File "/restic-compose-backup/restic_compose_backup/cli.py", line 142, in backup
    raise RuntimeError("Backup process already running")
RuntimeError: Backup process already running

Since it is not running in swarm mode, should it not be scoped only to specific compose project?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions