-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
My docker-compose.yml
version: "3.9"
services:
mysql-restore:
image: databack/mysql-backup:1.2.2
container_name: mysql-restore
hostname: mysql-restore
restart: no
environment:
DB_SERVER: ${DB_HOST}
DB_USER: ${DB_USER}
DB_PASS: ${DB_PASSWORD}
DB_RESTORE_TARGET: s3://db/db_backup_2025-04-19T19:42:11Z.tgz
AWS_ACCESS_KEY_ID: ${S3_KEY}
AWS_SECRET_ACCESS_KEY: ${S3_SECRET_KEY}
AWS_ENDPOINT_URL: "https://${S3_HOST}/"
AWS_DEFAULT_REGION: eu-central1
COMPRESSION: gzip
DB_DUMP_DEBUG: "true"
command: restore
networks:
- intranet
networks:
intranet:
name: intranet
external: true
I get an error
time="2025-04-19T22:21:58Z" level=fatal msg="requires at least 1 arg(s), only received 0"
mysql-restore exited with code 1
Аlso my attempts to change
DB_RESTORE_TARGET: s3://db/ db_backup_2025-04-19T19:42:11Z.tgz (with space before filename)
DB_RESTORE_TARGET: s3://db/ restore db_backup_2025-04-19T19:42:11Z.tgz
DB_RESTORE_TARGET: s3://db/
with one of
command: restore --target=db_backup_2025-04-19T19:42:11Z.tgz
command: restore --target db_backup_2025-04-19T19:42:11Z.tgz
command: restore db_backup_2025-04-19T19:42:11Z.tgz
But nothing helps. in the documentation everything is different everywhere. it is not clear how it should be. I also tried to request a docker-compose.yml from the grok but also unsuccessfully
shaunakv1
Metadata
Metadata
Assignees
Labels
No labels