Skip to content

Question: One location, multiple Docker volumes, same path inside containers #420

@rheicide

Description

@rheicide

If there are 2 containers with their volumes mounted at the same path like this:

services:
  app1:
    volumes:
      - volume-1:/data
    # ...

  app2:
    volumes:
      - volume-2:/data
    # ...

And the volumes are backed up with the same location like this:

locations:
  docker-volumes:
    from:
      - volume-1
      - volume-2
    type: volume
    # ...

Will volume-2's data overwrite volume-1's? Do we need to put them in different locations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions