{"id":16367706,"url":"https://github.com/torstein-eide/restoremysql","last_synced_at":"2026-04-28T21:32:22.876Z","repository":{"id":133991173,"uuid":"157767698","full_name":"Torstein-Eide/restoreMySQL","owner":"Torstein-Eide","description":"Restore many files sql files in a guided way","archived":false,"fork":false,"pushed_at":"2019-10-15T17:40:28.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T21:04:32.408Z","etag":null,"topics":["mysql","mysql-database","mysqldump","restore-database","sql"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torstein-Eide.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}},"created_at":"2018-11-15T20:20:01.000Z","updated_at":"2020-01-24T16:40:58.000Z","dependencies_parsed_at":"2024-01-23T18:07:15.081Z","dependency_job_id":"95456251-3383-4583-bbaa-eb2170f940a1","html_url":"https://github.com/Torstein-Eide/restoreMySQL","commit_stats":null,"previous_names":["torstein-eide/restoremysql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Torstein-Eide/restoreMySQL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torstein-Eide%2FrestoreMySQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torstein-Eide%2FrestoreMySQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torstein-Eide%2FrestoreMySQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torstein-Eide%2FrestoreMySQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torstein-Eide","download_url":"https://codeload.github.com/Torstein-Eide/restoreMySQL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torstein-Eide%2FrestoreMySQL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32400861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mysql","mysql-database","mysqldump","restore-database","sql"],"created_at":"2024-10-11T02:50:39.834Z","updated_at":"2026-04-28T21:32:22.858Z","avatar_url":"https://github.com/Torstein-Eide.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# restore MySQL database's\nRestore many files sql files in a guided way.\nWill import any sql fils.\n\n## dependency: \n- MYSQL\n- PV\n\n\n## How to run:\n```\ncd [path to folder with sql files]\nwget https://raw.githubusercontent.com/Eideen/restoreMySQL/master/db_restore.sh\nchmod +x ./db_restore.sh\n./db_restore.sh\n```\nor \n```\n./db_restore.sh [path to folder with sql files]\n```\n\n## Example of output:\n\n\u003e```\n\u003e$ll -h\n\u003e-rw-r--r-- 1 root root 8.3M Nov  7 22:22 db1.sql\n\u003e-rw-r--r-- 1 root root 299M Nov  7 22:22 db2.sql\n\u003e\n\u003e$./db_restore.sh\n\u003eInput username for mysql server [USER]:\n\u003eInput password for mysql server:\n\u003eInput hostname for mysql server [localhost]:\n\u003elist of databases before:\n\u003e* information_schema\n\u003e* mysql\n\u003e* performance_schema\n\u003eWarning: importing database will overwrite your exsisting data!\n\u003e\n\u003eAre you sure, you wanted to import db1 [y/N]y\n\u003edb1 exist\n\u003eimporting data in db1\n\u003e8.24MiB 0:00:16 [ 519KiB/s] [====================================================\u003e] 100%\n\u003e\n\u003eAre you sure, you wanted to import db2 [y/N]\n\u003edb2 exist\n\u003eimporting data in db2\n\u003e 298MiB 0:02:39 [1.87MiB/s] [====================================================\u003e] 100%\n\u003elist of databases after:\n\u003e* information_schema\n\u003e* db1\n\u003e* mysql\n\u003e* db2\n\u003e* performance_schema\n\u003e```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorstein-eide%2Frestoremysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorstein-eide%2Frestoremysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorstein-eide%2Frestoremysql/lists"}