Skip to content

Optimize documentation #15

@jwillmer

Description

@jwillmer

I have difficulties following the documentation. Questions I have:

  • How do I set the restore/backup command on the command line? The examples seam to be identical.
  • Is <CONTAINER>_ENV_MYSQL_DATABASE the same as MYSQL_DATABASE in my docker-compose or do I need to define a variable called exactly like this?

My docker-compose.yml

db:
    image: mysql/mysql-server
    container_name: database
    restart: always     
    environment:
        MYSQL_ROOT_PASSWORD: ${MYSQLROOTPW}
        MYSQL_DATABASE: ${MYSQLDB}
        MYSQL_USER: ${MYSQLUSER}
        MYSQL_PASSWORD: ${MYSQLPW}

backup:
    image: confirm/mysql-backup
    volumes:
        - ./data/backup:/backup
    links:
        - db
    restart: "no"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions