{"id":16103047,"url":"https://github.com/razesoldier/dbbt","last_synced_at":"2026-01-20T21:33:59.243Z","repository":{"id":140103152,"uuid":"137508531","full_name":"RazeSoldier/DBBT","owner":"RazeSoldier","description":"Database Backup Tool","archived":false,"fork":false,"pushed_at":"2020-02-11T09:55:32.000Z","size":69,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T16:52:16.706Z","etag":null,"topics":["database-backup","php7-cli"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RazeSoldier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-15T16:14:17.000Z","updated_at":"2020-10-16T05:34:09.000Z","dependencies_parsed_at":"2024-06-25T19:08:25.516Z","dependency_job_id":null,"html_url":"https://github.com/RazeSoldier/DBBT","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/RazeSoldier/DBBT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazeSoldier%2FDBBT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazeSoldier%2FDBBT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazeSoldier%2FDBBT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazeSoldier%2FDBBT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RazeSoldier","download_url":"https://codeload.github.com/RazeSoldier/DBBT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazeSoldier%2FDBBT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28614624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["database-backup","php7-cli"],"created_at":"2024-10-09T18:55:26.538Z","updated_at":"2026-01-20T21:33:59.199Z","avatar_url":"https://github.com/RazeSoldier.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBBT\nDatabase Backup Tool\n\n## What can this do?\nThis tool is written by PHP. If your website is also written by PHP, then using this tool does not require additional\nenvironment requirements. (The version requirements are described in Compatibility section below)\n\nThis tool supports both physical and logical backups. Due physical backup just is file copy,\nso the backup method supported all databases. However the logical backup only supports MySQL (and MariaDB),\nin the future will support more databases.\n\nThis tool also supports both local and remote storage. The support storage way is detailed below.\n\n## Compatibility\n### PHP\nDBBT requires PHP 7.0+.\n### System\nDBBT is well tested only on linux systems, other systems\n(like: Windows) do not guarantee normal operation.\n\n## Features\n### Support database\n* MySQL (and MariaDB)\n* All database (in physics backup case)\n### Support storage way\n* Local file system storage\n* [QCloud COS remote storage](https://intl.cloud.tencent.com/product/cos)\n### Compress\n* `tar.gz` (if you have `GNU tar` software)\n* `zip` compress (if you have `Zip` PHP extension)\n\n## Usage\n**For user, it is more recommend to use the PHAR file**\n### Source code usage way\n1. Download the source code to your local.\n2. `cd` to the source code directory.\n3. `composer install --no-dev` (In this step, you must make sure you have [composer](https://getcomposer.org/)).\n4. Copy `config.etc.php` to `config.php` and configure it. (NOTE: `config.etc.php` already includes configuration\nstructure. You can configure your backup tool on this basis)\n5. `php run.php`, does not display any messages if execution succeed.\n### PHAR file usage way\n1. Download the PHAR release file from [the release center](https://github.com/RazeSoldier/DBBT/releases) to your local.\n2. Create a config file based on\n[the sample configuration file](https://github.com/RazeSoldier/DBBT/blob/master/config.etc.php).\n3. `php dbbt.phar --config=\u003cconfig file path\u003e` where 'config file path' is the path of the config file you created.\n\n## Support\nIf this tool on the way in the use of the problem or you have any ideas, please go to\nthe [Github issues](https://github.com/RazeSoldier/DBBT/issues).\n\n## Contribute\nThe project welcomes anyone to contribute code. For more information, see `CONTRIBUTING.md` file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazesoldier%2Fdbbt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frazesoldier%2Fdbbt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazesoldier%2Fdbbt/lists"}