{"id":18353579,"url":"https://github.com/felbinger/dbm","last_synced_at":"2026-04-29T01:33:16.431Z","repository":{"id":37411758,"uuid":"334520601","full_name":"felbinger/dbm","owner":"felbinger","description":"Docker Backup Manager","archived":false,"fork":false,"pushed_at":"2023-04-03T21:59:50.000Z","size":34,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T00:55:14.740Z","etag":null,"topics":["backup","docker"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felbinger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-30T22:02:38.000Z","updated_at":"2022-04-23T21:09:12.000Z","dependencies_parsed_at":"2024-11-05T21:45:47.646Z","dependency_job_id":"b053e732-4c01-4a29-8af3-2354b8b650dc","html_url":"https://github.com/felbinger/dbm","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/felbinger/dbm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felbinger%2Fdbm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felbinger%2Fdbm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felbinger%2Fdbm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felbinger%2Fdbm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felbinger","download_url":"https://codeload.github.com/felbinger/dbm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felbinger%2Fdbm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","docker"],"created_at":"2024-11-05T21:42:14.015Z","updated_at":"2026-04-29T01:33:16.416Z","avatar_url":"https://github.com/felbinger.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Backup Manager\n\nThe Docker Backup Manager (DBM) is a docker image to back up the database and ldap server inside your docker container.\n\n## Packages\n* mariadb-client (`mysql` and `mysqldump`)\n* postgresql-client (`psql` and `pg_dump`)\n* openldap-clients (`ldapsearch`)\n\n## Usage\nThis repository contains a [`docker-compose.yml`](./docker-compose.yml), which can be used to test the image.\n```shell\ndocker run --rm -it \\\n  -v \"/var/backups/:/data/\" \\\n  --env-file .dbm.env \\\n  --network=dbm_default \\\n  ghcr.io/felbinger/dbm\n```\n\nIf you'd like to execute the backup using a cronjob, you need to to remove the parameter `-it` from the command.\n```shell\n# run database backup every three hours\n0 */3 * * * /bin/bash /root/db_backup.sh \u003e/dev/null 2\u003e\u00261\n```\n\n## Environment Variables\n|      Variable Name     |                    Description                   | Default Value |\n|------------------------|--------------------------------------------------|---------------|\n| LDAP_SCHEMA            | LDAP schema to use (`ldap` / `ldaps`)            | ldap          |\n| LDAP_HOST              | Container name of the ldap container.            |               |\n| LDAP_PORT              | Port of the ldap server.                         | 389           |\n| LDAP_BASE_DN           |                                                  |               |\n| LDAP_BIND_DN           |                                                  |               |\n| LDAP_BIND_PW           |                                                  |               |\n| MARIADB_HOST           | Container name of the mariadb container.         |               |\n| MARIADB_PORT           | Port of the mariadb server.                      | 3306          |\n| MARIADB_USERNAME       | Username of the backup user.                     | backup        |\n| MARIADB_PASSWORD       | Password of the backup user.                     |               |\n| MARIADB_DATABASES      | Databases that should be included in the backup. |               |\n| POSTGRES_HOST          | Container name of the postgresql container.      |               |\n| POSTGRES_PORT          | Port of the postgres server.                     | 5432          |\n| POSTGRES_USERNAME      | Username of the backup user.                     | backup        |\n| POSTGRES_PASSWORD      | Password of the backup user.                     |               |\n| POSTGRES_DATABASES     | Databases that should be included in the backup. |               |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelbinger%2Fdbm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelbinger%2Fdbm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelbinger%2Fdbm/lists"}