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

Can't backup multiple schemas with a singular fie #337

Open
roip-rms opened this issue Apr 3, 2024 · 0 comments
Open

Can't backup multiple schemas with a singular fie #337

roip-rms opened this issue Apr 3, 2024 · 0 comments
Labels

Comments

@roip-rms
Copy link

roip-rms commented Apr 3, 2024

Summary

Can't backup multiple schemas with a singular fie, tried multiple configurations in docker-compose but it always backs up in multiple files - each schema in it's own file.

I'm using MariaDB and docker-compose:

  example-db-backup:
    container_name: example-db-backup
    image: tiredofit/db-backup
    volumes:
      - ./backups:/backup
      #- ./post-script.sh:/assets/custom-scripts/post-script.sh
    environment:
      # - TIMEZONE=America/Vancouver
      - CONTAINER_NAME=example-db-backup
      - CONTAINER_ENABLE_MONITORING=FALSE
      # - DEBUG_MODE=TRUE
      # - BACKUP_JOB_CONCURRENCY=1     # Only run one job at a time
      - DEFAULT_CHECKSUM=NONE        # Don't create checksums
      # - DEFAULT_COMPRESSION=ZSTD     # Compress all with ZSTD
      # - DEFAULT_BACKUP_INTERVAL=1440   # Backup every 1440 minutes
      # - DEFAULT_BACKUP_BEGIN=0000      # Start backing up at midnight
      # - DEFAULT_CLEANUP_TIME=8640    # Cleanup backups after a week

      - DB01_TYPE=mariadb
      - DB01_HOST=77.81.46.124
      - DB01_NAME=ALL
      - DB01_NAME_EXCLUDE=sys,mysql,performance_schema,information_schema
      - DB01_SPLIT_DB=FALSE
      - DB01_USER=example
      - DB01_PASS=examplepassword
      - DB01_BACKUP_INTERVAL=30        # (override) Backup every 30 minutes
      - DB01_BACKUP_BEGIN=+1           # (override) Backup starts immediately
      - DB01_CLEANUP_TIME=21600        # (override) Cleanup backups they are older than 180 minutes
      # - DB01_CHECKSUM=SHA1           # (override) Create a SHA1 checksum
      - DB01_COMPRESSION=GZ          # (override) Compress with GZIP

    restart: always
  • Image version / tag: 4.0.35
  • Host OS: RHEL 8.2

Thanks in advance!

@roip-rms roip-rms added the bug label Apr 3, 2024
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

1 participant