Docker hub image #1

Closed
opened 2022-08-06 15:28:48 +00:00 by bonelifer · 5 comments

I've installed it and it's backing up the postgresql db's, but not my mariadb's. Both are intalled via docker compose.

I've installed it and it's backing up the postgresql db's, but not my mariadb's. Both are intalled via docker compose.
Owner

Are you using the official mariadb image? Anything in the logs?

Are you using the official mariadb image? Anything in the logs?
Author

I'm using the Linuxserver.io mariadb image:

version: '3.3'
services:
    linuxserver:
        container_name: mariadb
        environment:
            - PUID=1000
            - PGID=1000
            - MYSQL_ROOT_PASSWORD=password
            - TZ=America/Chicago
        ports:
            - '3306:3306'
        volumes:
            - '/media/william/Data2/BACKUP/docker/mariadb/config/:/config'
        restart: unless-stopped
        image: 'lscr.io/linuxserver/mariadb:latest'

Docker version 20.10.17, build 100c701
docker-compose version 1.29.1, build c34c88b2
Xubuntu 20.04.4

I'm using the Linuxserver.io mariadb image: ``` version: '3.3' services: linuxserver: container_name: mariadb environment: - PUID=1000 - PGID=1000 - MYSQL_ROOT_PASSWORD=password - TZ=America/Chicago ports: - '3306:3306' volumes: - '/media/william/Data2/BACKUP/docker/mariadb/config/:/config' restart: unless-stopped image: 'lscr.io/linuxserver/mariadb:latest' ``` Docker version 20.10.17, build 100c701 docker-compose version 1.29.1, build c34c88b2 Xubuntu 20.04.4
Author

LOGS:

2022/08/06 12:00:00 Found container [/authentik-postgres]
2022/08/06 12:00:00 Found container [/tandoor_db_recipes_1]
2022/08/06 12:00:00 Removing old backup folder 2022-08-04_22-11-36...
2022/08/06 12:00:00 Removing old backup folder 2022-08-05_00-00-00...
2022/08/06 12:00:00 Removing old backup folder 2022-08-05_06-00-00...
2022/08/06 12:00:00 Dumping postgres database from container /authentik-postgres...
2022/08/06 12:00:01 Dumping postgres database from container /tandoor_db_recipes_1...
2022/08/06 12:00:01 Done.
2022/08/06 18:00:03 Found container [/authentik-postgres]
2022/08/06 18:00:03 Found container [/tandoor_db_recipes_1]
2022/08/06 18:00:03 Removing old backup folder 2022-08-05_12-00-00...
2022/08/06 18:00:03 Removing old backup folder 2022-08-05_12-18-40...
2022/08/06 18:00:03 Dumping postgres database from container /authentik-postgres...
2022/08/06 18:00:04 Dumping postgres database from container /tandoor_db_recipes_1...
2022/08/06 18:00:05 Done.
2022/08/07 00:00:00 Found container [/authentik-postgres]
2022/08/07 00:00:00 Found container [/tandoor_db_recipes_1]
2022/08/07 00:00:00 Removing old backup folder 2022-08-05_12-25-39...
2022/08/07 00:00:00 Dumping postgres database from container /authentik-postgres...
2022/08/07 00:00:02 Dumping postgres database from container /tandoor_db_recipes_1...
2022/08/07 00:00:03 Done.
2022/08/07 06:00:00 Found container [/authentik-postgres]
2022/08/07 06:00:00 Found container [/tandoor_db_recipes_1]
2022/08/07 06:00:00 Removing old backup folder 2022-08-05_15-19-57...
2022/08/07 06:00:00 Dumping postgres database from container /authentik-postgres...
2022/08/07 06:00:01 Dumping postgres database from container /tandoor_db_recipes_1...
2022/08/07 06:00:01 Done.
2022/08/07 17:34:46 Found container [/authentik-postgres]
2022/08/07 17:34:46 Found container [/tandoor_db_recipes_1]
2022/08/07 17:34:46 Removing old backup folder 2022-08-05_15-25-54...
2022/08/07 17:34:46 Removing old backup folder 2022-08-05_15-40-42...
2022/08/07 17:34:46 Dumping postgres database from container /authentik-postgres...
2022/08/07 17:34:47 Dumping postgres database from container /tandoor_db_recipes_1...
2022/08/07 17:34:48 Done.
2022/08/07 18:00:00 Found container [/authentik-postgres]
2022/08/07 18:00:00 Found container [/tandoor_db_recipes_1]
2022/08/07 18:00:00 Removing old backup folder 2022-08-05_18-00-00...
2022/08/07 18:00:00 Dumping postgres database from container /authentik-postgres...
2022/08/07 18:00:00 Dumping postgres database from container /tandoor_db_recipes_1...
2022/08/07 18:00:02 Done.
2022/08/08 00:00:00 Found container [/authentik-postgres]
2022/08/08 00:00:00 Found container [/tandoor_db_recipes_1]
2022/08/08 00:00:00 Removing old backup folder 2022-08-06_00-00-00...
2022/08/08 00:00:00 Dumping postgres database from container /authentik-postgres...
2022/08/08 00:00:01 Dumping postgres database from container /tandoor_db_recipes_1...
2022/08/08 00:00:02 Done.
2022/08/08 06:00:00 Found container [/authentik-postgres]
2022/08/08 06:00:00 Found container [/tandoor_db_recipes_1]
2022/08/08 06:00:00 Removing old backup folder 2022-08-06_06-00-00...
2022/08/08 06:00:00 Dumping postgres database from container /authentik-postgres...
2022/08/08 06:00:01 Dumping postgres database from container /tandoor_db_recipes_1...
2022/08/08 06:00:03 Done.
LOGS: ``` 2022/08/06 12:00:00 Found container [/authentik-postgres] 2022/08/06 12:00:00 Found container [/tandoor_db_recipes_1] 2022/08/06 12:00:00 Removing old backup folder 2022-08-04_22-11-36... 2022/08/06 12:00:00 Removing old backup folder 2022-08-05_00-00-00... 2022/08/06 12:00:00 Removing old backup folder 2022-08-05_06-00-00... 2022/08/06 12:00:00 Dumping postgres database from container /authentik-postgres... 2022/08/06 12:00:01 Dumping postgres database from container /tandoor_db_recipes_1... 2022/08/06 12:00:01 Done. 2022/08/06 18:00:03 Found container [/authentik-postgres] 2022/08/06 18:00:03 Found container [/tandoor_db_recipes_1] 2022/08/06 18:00:03 Removing old backup folder 2022-08-05_12-00-00... 2022/08/06 18:00:03 Removing old backup folder 2022-08-05_12-18-40... 2022/08/06 18:00:03 Dumping postgres database from container /authentik-postgres... 2022/08/06 18:00:04 Dumping postgres database from container /tandoor_db_recipes_1... 2022/08/06 18:00:05 Done. 2022/08/07 00:00:00 Found container [/authentik-postgres] 2022/08/07 00:00:00 Found container [/tandoor_db_recipes_1] 2022/08/07 00:00:00 Removing old backup folder 2022-08-05_12-25-39... 2022/08/07 00:00:00 Dumping postgres database from container /authentik-postgres... 2022/08/07 00:00:02 Dumping postgres database from container /tandoor_db_recipes_1... 2022/08/07 00:00:03 Done. 2022/08/07 06:00:00 Found container [/authentik-postgres] 2022/08/07 06:00:00 Found container [/tandoor_db_recipes_1] 2022/08/07 06:00:00 Removing old backup folder 2022-08-05_15-19-57... 2022/08/07 06:00:00 Dumping postgres database from container /authentik-postgres... 2022/08/07 06:00:01 Dumping postgres database from container /tandoor_db_recipes_1... 2022/08/07 06:00:01 Done. 2022/08/07 17:34:46 Found container [/authentik-postgres] 2022/08/07 17:34:46 Found container [/tandoor_db_recipes_1] 2022/08/07 17:34:46 Removing old backup folder 2022-08-05_15-25-54... 2022/08/07 17:34:46 Removing old backup folder 2022-08-05_15-40-42... 2022/08/07 17:34:46 Dumping postgres database from container /authentik-postgres... 2022/08/07 17:34:47 Dumping postgres database from container /tandoor_db_recipes_1... 2022/08/07 17:34:48 Done. 2022/08/07 18:00:00 Found container [/authentik-postgres] 2022/08/07 18:00:00 Found container [/tandoor_db_recipes_1] 2022/08/07 18:00:00 Removing old backup folder 2022-08-05_18-00-00... 2022/08/07 18:00:00 Dumping postgres database from container /authentik-postgres... 2022/08/07 18:00:00 Dumping postgres database from container /tandoor_db_recipes_1... 2022/08/07 18:00:02 Done. 2022/08/08 00:00:00 Found container [/authentik-postgres] 2022/08/08 00:00:00 Found container [/tandoor_db_recipes_1] 2022/08/08 00:00:00 Removing old backup folder 2022-08-06_00-00-00... 2022/08/08 00:00:00 Dumping postgres database from container /authentik-postgres... 2022/08/08 00:00:01 Dumping postgres database from container /tandoor_db_recipes_1... 2022/08/08 00:00:02 Done. 2022/08/08 06:00:00 Found container [/authentik-postgres] 2022/08/08 06:00:00 Found container [/tandoor_db_recipes_1] 2022/08/08 06:00:00 Removing old backup folder 2022-08-06_06-00-00... 2022/08/08 06:00:00 Dumping postgres database from container /authentik-postgres... 2022/08/08 06:00:01 Dumping postgres database from container /tandoor_db_recipes_1... 2022/08/08 06:00:03 Done. ```
Owner

I'm using the Linuxserver.io mariadb image:

That explains it. The tool only looks for images called "mariadb" (the official images).

> I'm using the Linuxserver.io mariadb image: That explains it. The tool only looks for images called "mariadb" (the official images).
Owner

You can now add a de.kolaente.db-backup=mysql label to the container to make the tool discover it.

You can now add a `de.kolaente.db-backup=mysql` label to the container to make the tool discover it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: konrad/docker-db-backup#1
No description provided.