{"id":20312873,"url":"https://github.com/robertsaupe/phpbat","last_synced_at":"2025-03-04T08:26:32.874Z","repository":{"id":223003563,"uuid":"338776971","full_name":"robertsaupe/phpbat","owner":"robertsaupe","description":"a PHP based Backup \u0026 Admin Tool","archived":false,"fork":false,"pushed_at":"2024-02-21T11:08:21.000Z","size":1776,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T12:26:44.538Z","etag":null,"topics":["backup","backups","encrypted-backups","encryption","ftp","ftps","gz","mysqldump","php","php-cli","php8","rsync","sftp","tar","update"],"latest_commit_sha":null,"homepage":"https://robertsaupe.de","language":"PHP","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/robertsaupe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"robertsaupe","patreon":"robertsaupe","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.com/donate?hosted_button_id=SQMRNY8YVPCZQ","https://www.amazon.de/ref=as_li_ss_tl?ie=UTF8\u0026linkCode=ll2\u0026tag=robertsaupe-21\u0026linkId=b79bc86cee906816af515980cb1db95e\u0026language=de_DE"]}},"created_at":"2021-02-14T10:14:27.000Z","updated_at":"2022-06-02T07:24:15.000Z","dependencies_parsed_at":"2024-02-17T16:29:26.803Z","dependency_job_id":"c376f091-b51c-4aa8-a52c-1b65aa6fbbfd","html_url":"https://github.com/robertsaupe/phpbat","commit_stats":null,"previous_names":["robertsaupe/phpbat"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphpbat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphpbat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphpbat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphpbat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertsaupe","download_url":"https://codeload.github.com/robertsaupe/phpbat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241811933,"owners_count":20024282,"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","backups","encrypted-backups","encryption","ftp","ftps","gz","mysqldump","php","php-cli","php8","rsync","sftp","tar","update"],"created_at":"2024-11-14T18:07:51.640Z","updated_at":"2025-03-04T08:26:32.854Z","avatar_url":"https://github.com/robertsaupe.png","language":"PHP","funding_links":["https://github.com/sponsors/robertsaupe","https://patreon.com/robertsaupe","https://www.paypal.com/donate?hosted_button_id=SQMRNY8YVPCZQ","https://www.amazon.de/ref=as_li_ss_tl?ie=UTF8\u0026linkCode=ll2\u0026tag=robertsaupe-21\u0026linkId=b79bc86cee906816af515980cb1db95e\u0026language=de_DE","https://www.patreon.com/robertsaupe"],"categories":[],"sub_categories":[],"readme":"# phpBAT - a PHP based Backup \u0026amp; Admin Tool\n\n[![Minimum PHP version: 8.2.0](https://img.shields.io/badge/php-8.2%2B-blue.svg?color=blue\u0026style=for-the-badge)](https://packagist.org/packages/robertsaupe/phpbat)\n[![Packagist Version](https://img.shields.io/packagist/v/robertsaupe/phpbat?color=blue\u0026style=for-the-badge)](https://packagist.org/packages/robertsaupe/phpbat)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/robertsaupe/phpbat?color=blue\u0026style=for-the-badge)](https://packagist.org/packages/robertsaupe/phpbat)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](LICENSE)\n\n![phpBAT](https://raw.githubusercontent.com/robertsaupe/phpbat/master/.logo/phpbat-banner.png)\n\n\u003ch1\u003e\n\n```diff\n-! WORK IN PROGRESS !-\n\n!- The development of the version 3 (phar) is at a very early stage.\n!- Neither tests nor feedback are currently useful.\n!- As soon as the situation changes, I will inform you.\n\nThe specifications for version 3 are still in the concept phase.\nBelow you will find the readme for the old version 2.\n```\n\n\u003c/h1\u003e\n\n[Supporting](https://github.com/robertsaupe/phpbat#supporting) |\n[Features](https://github.com/robertsaupe/phpbat#features) |\n[License](https://github.com/robertsaupe/phpbat#license) |\n[Requirements](https://github.com/robertsaupe/phpbat#requirements) |\n[Installing](https://github.com/robertsaupe/phpbat#installing) |\n[Getting started](https://github.com/robertsaupe/phpbat#getting-started) |\n[Credits](https://github.com/robertsaupe/phpbat#credits) |\n[Changelog](https://github.com/robertsaupe/phpbat#changelog) |\n[History](https://github.com/robertsaupe/phpbat#history)\n\n## Supporting\n\n[GitHub](https://github.com/sponsors/robertsaupe) |\n[Patreon](https://www.patreon.com/robertsaupe) |\n[PayPal](https://www.paypal.com/donate?hosted_button_id=SQMRNY8YVPCZQ) |\n[Amazon](https://www.amazon.de/ref=as_li_ss_tl?ie=UTF8\u0026linkCode=ll2\u0026tag=robertsaupe-21\u0026linkId=b79bc86cee906816af515980cb1db95e\u0026language=de_DE)\n\n## Features\n\n- full server backups\n- server updates\n- server cleanup\n- backup individual folders to archive (tar, tar.gz)\n- dump mysql/mariadb\n- access rights adjustment (chmod)\n- delete old backups and logs\n- compression (optional)\n- encrypt and decrypt backups (optional)\n- synchronisation/replication from or to rsync/ftp/ftps/sftp\n- logging (with levels) by output, log-file and mail\n- automatic selfupdates\n- custom and easy configuration\n\n## License\n\nThis software is distributed under the MIT license. Please read [LICENSE](LICENSE) for information.\n\n## Requirements\n\n- PHP 8.0.0 or higher\n- fully supported OS: Debian, Rasbian, Ubuntu, Arch, Manjaro\n- partially supported: other Linux, Mac OS, Windows\n- complete requirements documented in [Configuration.Default.jsonc](Configuration.Default.jsonc)\n\n## Installing\n\ndownload latest [Release](https://github.com/robertsaupe/phpbat/releases)\n\n```bash\ntar xvz -f x.x.x.tar.gz\nrm x.x.x.tar.gz\n```\n\n## Getting started\n\ncopy [Configuration.Default.jsonc](Configuration.Default.jsonc) to Configuration.jsonc and editing it.\n\nusing php-cli\n\n```bash\nphp phpBAT.php\n```\n\nusing cron: daily\n\n```bash\ncrontab -e\n\n0 2 * * * php /root/phpbat/phpBAT.php -cron\n```\n\nusing php-cli: decrypt all encrypted backups\n\n```bash\nphp phpBAT.php -d\n```\n\nusing php-cli: decrypt a encrypted backup-file\n\n```bash\nphp phpBAT.php -df file.enc\n```\n\n## Credits\n\n- \u003chttps://github.com/splitbrain/php-archive\u003e\n- \u003chttps://github.com/ifsnop/mysqldump-php\u003e\n- \u003chttps://github.com/PHPMailer/PHPMailer\u003e\n- \u003chttps://github.com/phpseclib/phpseclib\u003e\n- \u003chttps://github.com/paragonie/constant_time_encoding\u003e\n\n## Changelog\n\nSee [CHANGELOG](CHANGELOG.md).\n\n## History\n\n- originally written in 2018 as a private tool for my server\n- complete rewritten (2.x) and published in 2021 on github\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertsaupe%2Fphpbat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertsaupe%2Fphpbat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertsaupe%2Fphpbat/lists"}