{"id":20052424,"url":"https://github.com/hyperjiang/move","last_synced_at":"2025-06-28T01:37:24.914Z","repository":{"id":57611817,"uuid":"207724630","full_name":"hyperjiang/move","owner":"hyperjiang","description":"Docker image for dumping and loading mysql schema and data, built on alpine.","archived":false,"fork":false,"pushed_at":"2019-10-03T11:04:51.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T08:45:58.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/hyperjiang.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}},"created_at":"2019-09-11T04:41:31.000Z","updated_at":"2019-09-13T04:24:34.000Z","dependencies_parsed_at":"2022-09-02T13:31:25.440Z","dependency_job_id":null,"html_url":"https://github.com/hyperjiang/move","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hyperjiang/move","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjiang%2Fmove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjiang%2Fmove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjiang%2Fmove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjiang%2Fmove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperjiang","download_url":"https://codeload.github.com/hyperjiang/move/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjiang%2Fmove/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262361665,"owners_count":23299085,"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-11-13T12:17:38.286Z","updated_at":"2025-06-28T01:37:24.878Z","avatar_url":"https://github.com/hyperjiang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# move\n\n[![Docker Repository on Quay](https://quay.io/repository/hyper/move/status \"Docker Repository on Quay\")](https://quay.io/repository/hyper/move)\n[![Go Report](https://goreportcard.com/badge/github.com/hyperjiang/move)](https://goreportcard.com/report/github.com/hyperjiang/move)\n[![License](https://img.shields.io/github/license/hyperjiang/move.svg)](https://github.com/hyperjiang/move)\n\nDocker image for dumping and loading mysql schema and data, built on alpine.\n\nThe original intention of this tool is to solve this issue: need to export the entire database structure, and only include certain tables' data.\n\n## usage\n\nYou can take a look at `config.toml` to understand the features this tool supports, and create your own config and run command like this:\n\n```\ndocker run --rm -v $PWD/config.toml:/app/config.toml quay.io/hyper/move\n```\n\nThe default config path in the container is `/app/config.toml`, if you mount to another position, you need to specify the path like this:\n\n```\ndocker run --rm -v $PWD/config.toml:/etc/config.toml quay.io/hyper/move -c /etc/config.toml\n```\n\nThe sql files dumped from database is stored in `/data`, if you want to get them you can mount a local volume to it like this:\n\n```\ndocker run --rm -v $PWD/config.toml:/app/config.toml -v $PWD/data:/data quay.io/hyper/move\n```\n\nIf you only want to run one of the rules defined in your `config.toml`, and its name is `r1`, then you can run it by this:\n\n```\ndocker run --rm -v $PWD/config.toml:/app/config.toml quay.io/hyper/move -r r1\n```\n\n## notes\n\n- The program does not support dumping all the databases in one time, this is intended, you need to specify the database in each rule.\n- You can run the program directly without docker if you are using linux or mac and have mysql client installed on your local.\n- The rules are run in FIFO order.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperjiang%2Fmove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperjiang%2Fmove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperjiang%2Fmove/lists"}