{"id":16171329,"url":"https://github.com/bmarsaud/mysql-docker-db-snap","last_synced_at":"2026-04-05T23:03:57.683Z","repository":{"id":90229617,"uuid":"170931591","full_name":"bmarsaud/mysql-docker-db-snap","owner":"bmarsaud","description":"Shell script creating a mysql database snapshot in a docker image","archived":false,"fork":false,"pushed_at":"2019-02-15T22:01:49.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T08:07:57.124Z","etag":null,"topics":["database-management","docker","docker-image","mariadb","mysql","script","snapshot"],"latest_commit_sha":null,"homepage":null,"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/bmarsaud.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":"2019-02-15T21:38:37.000Z","updated_at":"2019-02-15T22:03:02.000Z","dependencies_parsed_at":"2024-01-08T13:49:29.631Z","dependency_job_id":null,"html_url":"https://github.com/bmarsaud/mysql-docker-db-snap","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"9c5e7591c938923b1a5cca954de2e3b64040cf54"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bmarsaud/mysql-docker-db-snap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmarsaud%2Fmysql-docker-db-snap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmarsaud%2Fmysql-docker-db-snap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmarsaud%2Fmysql-docker-db-snap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmarsaud%2Fmysql-docker-db-snap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmarsaud","download_url":"https://codeload.github.com/bmarsaud/mysql-docker-db-snap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmarsaud%2Fmysql-docker-db-snap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266057190,"owners_count":23870120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["database-management","docker","docker-image","mariadb","mysql","script","snapshot"],"created_at":"2024-10-10T03:21:46.534Z","updated_at":"2025-12-30T22:07:05.538Z","avatar_url":"https://github.com/bmarsaud.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mysql-docker-db-snap\nShell script creating a snapshot of mysql databases and pushing it to a mariadb docker image in a registry.\n\n## Options\n|Option|Desription|\n|---|---|\n|`--host`, `-h`|MySQL server host|\n|`--port`, `-p`|MySQL server port|\n|`--user`, `-u`|MySQL username|\n|`--password`, `-P`|MySQL password|\n|`--databases`, `-d`|Database names separated by `,`|\n|`--image`, `-i`|Output image name|\n|`--image-version`, `-iv`|Output image tag|\n\nExemple:\n```shell\n./mysql-db-snap.sh --host=127.0.0.1 --port=3308 --user=bingo-ifa --password=bingo-ifa --databases=bingo-ifa --image=bm/bingo-ifa/test-data --image-version=latest\n```\n\n## Environment variables\n|Variable name|Description|\n|---|---|\n|`REGISTRY`|Registry URL|\n|`DUMP_PATH`|Directory where dumps are stored|\n\n## Contributors\nBastien Marsaud","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmarsaud%2Fmysql-docker-db-snap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmarsaud%2Fmysql-docker-db-snap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmarsaud%2Fmysql-docker-db-snap/lists"}