Commit f48b6450 authored by dobli's avatar dobli
Browse files

adjusted backup container to use multiple backup targets

parent 49f05abd
Showing with 13 additions and 1 deletion
+13 -1
...@@ -67,9 +67,21 @@ services: ...@@ -67,9 +67,21 @@ services:
- "influxdb_data:/source/influxdb_data" - "influxdb_data:/source/influxdb_data"
- "backup_cache:/volumerize-cache" - "backup_cache:/volumerize-cache"
- "backup_data:/backup" - "backup_data:/backup"
configs:
- source: backup_config_b1
target: /backup_config.json
- source: sftp_id_key
target: /root/.ssh/id_rsa
mode: 0400
- source: sftp_known_hosts
target: /root/.ssh/known_hosts
mode: 0400
environment: environment:
- VOLUMERIZE_SOURCE=/source - VOLUMERIZE_SOURCE=/source
- VOLUMERIZE_TARGET=file:///backup/b1 - VOLUMERIZE_TARGET='multi:///backup_config.json?mode=mirror&onfail=abort'
- VOLUMERIZE_DUPLICITY_OPTIONS=--ssh-options "-oStrictHostKeyChecking=no"
networks:
- habnet
deploy: deploy:
placement: placement:
constraints: constraints:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment