{"id":17343029,"url":"https://github.com/greg0/go-mysqldump-cli","last_synced_at":"2025-07-14T09:03:05.136Z","repository":{"id":144975853,"uuid":"194162530","full_name":"Greg0/go-mysqldump-cli","owner":"Greg0","description":"CLI for go-mysqldump lib","archived":false,"fork":false,"pushed_at":"2019-07-18T17:38:58.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T09:45:43.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Greg0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-27T20:59:57.000Z","updated_at":"2019-07-18T17:38:26.000Z","dependencies_parsed_at":"2024-04-19T06:01:15.967Z","dependency_job_id":null,"html_url":"https://github.com/Greg0/go-mysqldump-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Greg0/go-mysqldump-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greg0%2Fgo-mysqldump-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greg0%2Fgo-mysqldump-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greg0%2Fgo-mysqldump-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greg0%2Fgo-mysqldump-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Greg0","download_url":"https://codeload.github.com/Greg0/go-mysqldump-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greg0%2Fgo-mysqldump-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265265263,"owners_count":23737000,"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":[],"created_at":"2024-10-15T16:08:07.744Z","updated_at":"2025-07-14T09:03:05.129Z","avatar_url":"https://github.com/Greg0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI for library [go-mysqldump](//github.com/Greg0/go-mysqldump)\n\nAccepts arguments:\n\n* `--connection` - Path to YAML file with connection configuration. Overwrites CLI connection arguments\n\nExample:\n\n```yaml\nname: dump # Optional\naddress: 127.0.0.1:3306 # Optional \nusername: root # Optional\npassword: root # Optional\ndbname: database\n```\n\n* `--name` - Dump prefix. Default: `dump`\n* `--addr` - Database address in format `host:port`\n* `--user` - Database username \n* `--dbname` - Database name\n\nConnection arguments `name`, `addr`, `user`, `pass`, `dbname` can be passed by file configuration in `connection` argument.\n\n--- \n\n* `--ignore` - Path to file containing list of ignored tables. Table names should be placed in new lines. Table names are regex expressions.\n* `--structOnly` - Path to file containing list of tables that will be dumped without data. Table names are regex expressions.\n\nExample of file content:\n\n```txt\n_log$\n_swap$\n^secret\n```\n\n--- \n\n* `--output` - Path do direcotry where dump will be saved\n\n\n## Examples\n\n```sh\ngo-mysqldump-cli --connection conn.yml --ignore ignore.txt --structOnly structure.txt --output ./dumps \n```\n\n```sh\ngo-mysqldump-cli --dbname database_to_dump --user root --pass root --addr 127.0.0.1:3306 --ignore ignore.txt --structOnly structure.txt --output ./dumps\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreg0%2Fgo-mysqldump-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreg0%2Fgo-mysqldump-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreg0%2Fgo-mysqldump-cli/lists"}