{"id":26871174,"url":"https://github.com/codeadamca/php-mysql-backup","last_synced_at":"2026-02-11T09:03:38.659Z","repository":{"id":115328446,"uuid":"535112116","full_name":"codeadamca/php-mysql-backup","owner":"codeadamca","description":"A basic example of backing up a MySQL database using mysqldumb and exec.","archived":false,"fork":false,"pushed_at":"2025-01-26T22:20:41.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T07:18:36.049Z","etag":null,"topics":["backup","mysql","mysqldump","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/codeadamca.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":"2022-09-10T20:30:33.000Z","updated_at":"2025-01-26T22:20:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfb823ec-5a95-441b-b736-19d857e876bf","html_url":"https://github.com/codeadamca/php-mysql-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-mysql-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-mysql-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-mysql-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-mysql-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeadamca","download_url":"https://codeload.github.com/codeadamca/php-mysql-backup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252826491,"owners_count":21810121,"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":["backup","mysql","mysqldump","php"],"created_at":"2025-03-31T07:18:40.655Z","updated_at":"2026-02-11T09:03:33.634Z","avatar_url":"https://github.com/codeadamca.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backing up a MySQL Database using PHP and mysqldump\n\nA basic example of backing up a MySQL database using mysqldumb and exec.\n\nYou may need to allow PHP to use the `exec()` function. Run `phpinfo()` to check if `exec()` is enabled. \n\nThis code sample uses a `.env` files as described on the [php-env](https://github.com/codeadamca/php-env) repo. \n\n\u003e For information on what privileges the MySQL user needs to execute the mysqldump command check out this Stack Overflow question:\n\u003e https://dba.stackexchange.com/questions/55546\n\n***\n\n## Repo Resources\n\n* [Visual Studio Code](https://code.visualstudio.com/)\n* [PHP](https://www.php.net/)\n\n\u003cbr\u003e\n\u003ca href=\"https://codeadam.ca\"\u003e\n\u003cimg src=\"https://cdn.codeadam.ca/images@1.0.0/codeadam-logo-coloured-horizontal.png\" width=\"200\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeadamca%2Fphp-mysql-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeadamca%2Fphp-mysql-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeadamca%2Fphp-mysql-backup/lists"}