{"id":17725525,"url":"https://github.com/webarchitect609/mysql-twin-dump","last_synced_at":"2025-03-31T14:20:08.861Z","repository":{"id":94872478,"uuid":"278613339","full_name":"webarchitect609/mysql-twin-dump","owner":"webarchitect609","description":"Dumps an entire MySQL database to a single *.sql or *.sql.bz2 file, ignoring contents for specific set of tables","archived":false,"fork":false,"pushed_at":"2024-01-31T15:10:44.000Z","size":22,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-31T16:54:18.480Z","etag":null,"topics":["mysqldump"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webarchitect609.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"custom":["https://sobe.ru/na/mysql_twin_dump"]}},"created_at":"2020-07-10T11:09:10.000Z","updated_at":"2024-01-31T16:54:20.461Z","dependencies_parsed_at":"2024-01-31T16:54:18.706Z","dependency_job_id":null,"html_url":"https://github.com/webarchitect609/mysql-twin-dump","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fmysql-twin-dump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fmysql-twin-dump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fmysql-twin-dump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fmysql-twin-dump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webarchitect609","download_url":"https://codeload.github.com/webarchitect609/mysql-twin-dump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246481004,"owners_count":20784458,"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":["mysqldump"],"created_at":"2024-10-25T16:04:46.300Z","updated_at":"2025-03-31T14:20:08.840Z","avatar_url":"https://github.com/webarchitect609.png","language":"Shell","funding_links":["https://sobe.ru/na/mysql_twin_dump"],"categories":[],"sub_categories":[],"readme":"MySQL Twin Dump\n===============\n[![Travis Build Status](https://travis-ci.org/webarchitect609/mysql-twin-dump.svg?branch=master)](https://travis-ci.org/webarchitect609/mysql-twin-dump)\n[![Latest version](https://img.shields.io/github/v/tag/webarchitect609/mysql-twin-dump?sort=semver)](https://github.com/webarchitect609/mysql-twin-dump/releases)\n[![License](https://img.shields.io/github/license/webarchitect609/mysql-twin-dump)](LICENSE.md)\n\n[перевести на русский](./README_ru.md)\n\n**Please, be careful:** this is beta-version so far and things can change.\n\nDumps an entire MySQL database to a single `*.sql` or `*.sql.bz2` file, ignoring contents for specific set of tables.\nIt's intended to reduce the MySQL dump file size when it's known that some tables have insignificant data, but must\npresent in the database for normal operation mode.\n\nFeatures\n--------\n- Runs `mysqldump` twice using `--no-data` or `--ignore-table` options to exclude content of specified set of tables,\n  but gets an entire database dump as single file\n- Supports Bzip2 compression\n- Dry-run mode lets you review all the actual commands that would be executed in the normal mode\n\nRequirements\n------------\n- `mysqldump`\n- `bzip2`\n\nInstallation\n------------\n`git clone` this repo wherever you want \n\nSupport\n-------\nYou can use this script totally for free, or you can appreciate the author for his work and support desire to make new\nuseful projects:\n- [ЮMoney](https://sobe.ru/na/mysql_twin_dump)\n\nUsage\n-----\n\nFor example, if you want to dump `database` with bzip2 compression, but exclude content of tables `b_event_log`,\n`b_event` and `b_perf_sql`\n\n```shell script\n./bin/mysqltwindump --exclude-content b_event_log \\\n                    --exclude-content b_event \\\n                    --exclude-content b_perf_sql \\\n                    --host \"localhost\" \\\n                    --port \"3306\" \\\n                    --user \"user\" \\\n                    --password \"password\" \\\n                    --database \"database\" \\\n                    --bzip2 \\\n                    \u003e \"mysql-twin-dump_$(date +%Y-%m-%d_%H-%M).sql.bz2\"\n```\n\nGet all possible options and modes\n\n```shell script\n./bin/mysqltwindump --help\n```\n\nKnown Issues\n------------\nNone so far.\n\nLicence \u0026 Author Information\n----------------------------\n[BSD-3-Clause](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebarchitect609%2Fmysql-twin-dump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebarchitect609%2Fmysql-twin-dump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebarchitect609%2Fmysql-twin-dump/lists"}