Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions docker-compose-restore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.2'

services:
restore:
build: ./volumerize
image: blacklabelops/volumerize:1.7.1
container_name: restore
environment:
- VOLUMERIZE_SOURCE=/source
Expand All @@ -12,8 +12,14 @@ services:
- TZ=Europe/Berlin
- AWS_ACCESS_KEY_ID= ${BACKUP_AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${BACKUP_AWS_SECRET_ACCESS_KEY}
- VOLUMERIZE_DUPLICITY_OPTIONS=--file-prefix-archive=archive-
- VOLUMERIZE_DUPLICITY_OPTIONS=--file-prefix-archive=archive- --verbosity=INFO --s3-use-new-style --s3-multipart-chunk-size 50
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- db:/source/db
- nextcloud:/source/nextcloud
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
- type: volume
source: db
target: /source/db
- type: volume
source: nextcloud
target: /source/nextcloud
2 changes: 1 addition & 1 deletion oberdocker-restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fi
NO_RESTORE=false docker-compose \
--file docker-compose.yml \
--file docker-compose-backup.yml \
run volumerize restore || exit 1
run volumerize restore $@ || exit 1

if [[ $COMPOSE_PROJECT_NAME = "oberdocker" ]];
then
Expand Down