{"id":23629738,"url":"https://github.com/yasnateam/db-backup","last_synced_at":"2025-08-31T05:31:59.921Z","repository":{"id":82284485,"uuid":"210601795","full_name":"YasnaTeam/db-backup","owner":"YasnaTeam","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-12T11:37:20.000Z","size":18,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-01T13:01:39.496Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YasnaTeam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-24T12:49:51.000Z","updated_at":"2020-09-12T10:45:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"47b945e0-9c9b-404b-9761-fa65686a465e","html_url":"https://github.com/YasnaTeam/db-backup","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/YasnaTeam/db-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YasnaTeam%2Fdb-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YasnaTeam%2Fdb-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YasnaTeam%2Fdb-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YasnaTeam%2Fdb-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YasnaTeam","download_url":"https://codeload.github.com/YasnaTeam/db-backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YasnaTeam%2Fdb-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272940732,"owners_count":25018964,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-28T01:17:43.248Z","updated_at":"2025-08-31T05:31:59.643Z","avatar_url":"https://github.com/YasnaTeam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoBackup :floppy_disk:\n\nGoBackup is a `mysqldumper` wrapper to full/partial backup and/or compress mysql databases. \n\n### Download\nYou can download the release file from [releases](https://github.com/YasnaTeam/db-backup/releases) page.\n\n### Usage\nYou can see usage with --help flag\n\n| Flag        | Usage           | Default  |\n| ------------- |:-------------:| -----:|\n| t     | name of table(s) you want to dump comma separated. | * |\n| n      | output file name      |   dump |\n| p | output file path      |     |\n| f     | output file type (sql,zip,gz) | sql |\n| d     | add date to output file | false |\n| i     | input file path |  |\n| db_user      | database user name      |    |\n| db_pass | database user password      |     |\n| db_host     | database host |  |\n| db_name      | database name      |    |\n| db_port | database port number      |    3306 |\n| config | database config file      |     |\n\nExample usage : \n```bash\ngobackup -f gz -config /laravel/.env -n out  \n```\nThis command will create a file named `out` and `out.gz` by dumping all tables with connection info of `.env` file\n\n### Import Command\nYou can also import a sql file with any of these mime-types (`sql`,`gz`,`zip`):\n```bash\ngobackup -i path/to/file.sql -config /laravel/.env\n```\n\n### Build Executable From Source\nYou May build the executable file with following command : \n```bash\ngo build -ldflags=\"-s -w\"\n```\n###### Flags are for decreasing output size \n\n### Contribution :love_letter:\n\nFork project and send PR to me :heart:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasnateam%2Fdb-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasnateam%2Fdb-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasnateam%2Fdb-backup/lists"}