Skip to content

Multiple targets not working using #481

@e3elettronica

Description

@e3elettronica

We are using the latest docker image.
Setting multiple targets using environment variable or env_file does not work.

DB_DUMP_TARGET="/backups s3://bucket/subdir"

while other config file parameters are read.
The system uses the string as a single target, ignoring the blank separating the two targets

Instead setting the multipl target in config file is ok

  dump:
    # list of named targets to backup to, from the index below
    targets:
      - file
      - s3

  # targets. Each target is a location, as well as credentials and config, as needed
  targets:
    s3:
      type: s3
      url: s3://bucket/subdir
      spec:
        region: us-west-1
        endpoint: https://s3.us-west-1.amazonaws.com

    file:
      type: file
      url: /backups

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions