Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db-backup version 4.1.10 not working #391

Open
ch3lmi opened this issue Dec 13, 2024 · 1 comment
Open

db-backup version 4.1.10 not working #391

ch3lmi opened this issue Dec 13, 2024 · 1 comment
Labels

Comments

@ch3lmi
Copy link

ch3lmi commented Dec 13, 2024

Summary

Since switching to 4.1.10 the following error message is displayed and no backup is started:

sudo: /usr/bin/mariadb-: command not found

Previously working 4.1.9 displayed

/usr/bin/mysqldump: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb-dump' instead

Steps to reproduce

run backup-now on 4.1.10

What is the expected correct behavior?

backup is achieved successfully

Relevant logs and/or screenshots

2024-12-13.08:55:06 [INFO] ** [db-backup01] Starting Manual Backup for db-backup01
sudo: /usr/bin/mariadb-: command not found

Environment

  • Image version / tag: 4.1.10
  • Host OS: coreOS 41
services:
  db-backup:
    container_name: db-backup
    image: tiredofit/db-backup
    restart: unless-stopped
    volumes:
      - dbbackup:/backup
      - post:/assets/scripts/post
    environment:
      - TZ=Europe/Zurich
      - ZABBIX_HOSTNAME=db-backup
      - DB01_HOST=xxxxx
      - DB01_TYPE=mariadb
      - DB01_NAME=ALL
      - DB01_USER=xxxxxx
      - DB01_PASS=xxxxxx
      - DEFAULT_BACKUP_BEGIN=0000
      - DEFAULT_BACKUP_INTERVAL=1440      
      - DEFAULT_CLEANUP_TIME=8640
      - DEFAULT_COMPRESSION=BZ
      - DEFAULT_CHECKSUM=MD5
      - DB01_POST_SCRIPT=/assets/scripts/post/post.sh 
      - CONTAINER_ENABLE_MONITORING=FALSE

volumes:
  post:
  dbbackup: 

Possible fixes

@ch3lmi ch3lmi added the bug label Dec 13, 2024
@tiredofit
Copy link
Owner

tiredofit commented Dec 13, 2024

Thanks for this - I can reproduce, a stray hyphen appears when trying to use the replacement for mysql (now mariadb) with the way I was doing some character replacements. Happens in environments backing up ALL.

Resolved with 4.1.11 4.1.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants