File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ mkdir -p "$MARIA_DATA" && mkdir -p "$AWS_HOME"
1111podman run --rm -it \
1212 -v $MARIA_DATA :/etc/maria-data \
1313 -v $AWS_HOME :/root/.aws \
14- --network=host $DOCKER_IMAGE download
14+ -e AWS_BUCKET=" s3://finanssoreal-backups/" \
15+ --network=host " finanssoreal/db-helper:latest" download
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- DOCKER_IMAGE=" finanssoreal/db-helper:latest"
43MARIA_DATA=" $HOME /maria-data"
5- AWS_HOME=" $HOME /.aws"
64
75# create the base directories
8- mkdir -p " $MARIA_DATA " && mkdir -p " $AWS_HOME "
6+ mkdir -p " $MARIA_DATA "
97
108# download a dump from the database
119podman run --rm -it \
1210 -v $MARIA_DATA :/etc/maria-data \
13- -v $AWS_HOME :/root/.aws \
14- --network=host $DOCKER_IMAGE insert
11+ --network=host " finanssoreal/db-helper:latest" insert
You can’t perform that action at this time.
0 commit comments