{"id":18522363,"url":"https://github.com/cithukyaw/mysqldumper-shell","last_synced_at":"2025-04-09T10:33:38.203Z","repository":{"id":24589598,"uuid":"27997750","full_name":"cithukyaw/mysqldumper-shell","owner":"cithukyaw","description":"The quick shell MySQL database backup program","archived":false,"fork":false,"pushed_at":"2019-06-16T04:55:23.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T04:51:39.447Z","etag":null,"topics":["database","dumps","mysql","mysql-database-backup","shell","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","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/cithukyaw.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":"2014-12-14T15:03:59.000Z","updated_at":"2023-07-13T04:04:28.000Z","dependencies_parsed_at":"2022-08-23T03:40:59.995Z","dependency_job_id":null,"html_url":"https://github.com/cithukyaw/mysqldumper-shell","commit_stats":null,"previous_names":["cithukyaw/mysqldumper-shell"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cithukyaw%2Fmysqldumper-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cithukyaw%2Fmysqldumper-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cithukyaw%2Fmysqldumper-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cithukyaw%2Fmysqldumper-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cithukyaw","download_url":"https://codeload.github.com/cithukyaw/mysqldumper-shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248020593,"owners_count":21034459,"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","dumps","mysql","mysql-database-backup","shell","shell-script"],"created_at":"2024-11-06T17:30:22.020Z","updated_at":"2025-04-09T10:33:33.182Z","avatar_url":"https://github.com/cithukyaw.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MySQL Dumper Shell\n\nThe simple and quick MySQL database backup program through terminal or command line using a single compact command. It dumps all databases into a directory specified. It exports `.sql` file for each database with the file name format of `\u003cdb_name\u003e_\u003cYYYYMMDD\u003e.sql`. The script is available for both Linux and Windows.\n\n## Usage\n\n    mysqldumper [options]\n\n    Options:\n     --dbs (-d)      Databases to be dumped, e.g., -d mydb1 mydb2\n\nIf you omit the options, your MySQL user should have `SHOW DATABASES` privilege.\n\n# Instruction (Linux)\n\nPlace the downloaded script file `mysqldumper` in a directory you like; let's say have `/var/local/mysqldumper-shell/mysqldumper`.\n\n    $ cd /var/local/mysqldumper-shell\n    $ ./mysqldumper\n\nYou can alternatively [put it in your PATH](http://linuxcommand.org/wss0010.php#path) so that you could run it globally without changing directory.\n\n    $ mysqldumper\n\n### Note for Linux\n\n* Upon first usage, you will get a MySQL configuration notice and simply follow the instruction showing in the terminal.\n* All dumped sql files will be stored in a directory of home `$HOME/.mysqlbackup`.\n\n# Instruction (Windows)\n\nPlace the downloaded script file `mysqldumper.bat` in a directory you like; let's say have `C:\\bin\\mysqldumper-shell\\mysqldumper.bat`.\n\n    C:\\Users\\%Username%\u003e cd\\\n    C:\\\u003e cd bin\\mysqldumper-shell\n    C:\\bin\\mysqldumper-shell\u003e mysqldumper.bat\n\nIf you want to run it globally without changing directory, you can put it in your PATH using [GUI](http://www.computerhope.com/issues/ch000549.htm) or [command line](http://stackoverflow.com/a/9546345/1179841).\n\n    C:\\Users\\%Username%\u003e mysqldumper\n\n### Note for Windows\n\n* Upon first usage, you will get a MySQL configuration notice and simply follow the instruction showing in the command line.\n* You may need to configure your path of `mysql.exe` location in the line 20 of the script.\n* All dumped sql files will be stored in a directory of user profile, for example, `C:\\Users\\%Username%\\.mysqlbackup`. You can change path at line 35.\n\n# Author\n[Sithu K.](http://www.phplucidframe.com/sithu)\n\n# License\nReleased under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcithukyaw%2Fmysqldumper-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcithukyaw%2Fmysqldumper-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcithukyaw%2Fmysqldumper-shell/lists"}