Download the PHP package dutchie027/easymysqlbackup without Composer
On this page you can find all versions of the php package dutchie027/easymysqlbackup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dutchie027/easymysqlbackup
More information about dutchie027/easymysqlbackup
Files in dutchie027/easymysqlbackup
Package easymysqlbackup
Short Description This library piggybacks on the functionality of mysqldump, creating a backup of a Maria or MySQL database. It allows you to save locally or upload to cloud storage.
License MIT
Informations about the package easymysqlbackup
Easy MySQL Backup
About
This package allows you to backup a mysql database using mysqldump
and then store it to a local file store (by default) or upload it to S3.
Installation
Install this package as a dependency using Composer.
You will also need to ensure you have a copy of mysqldump
on the box this is hosted on. Also, if you want to use compression for backup and restore, you'll need gzip
and gunzip
.
Usage
The program will assume a lot of defaults if you don't have a config file, however it is highly suggested you create a config (see sample .ini below)
Backup Locally
Backup and Upload to S3
Restore A Local File
Restore From S3
Sample my.ini (showing all values)
To-Do
- Add routines to allow for removal of local backups older than "x" days
- Possibly add additional APIs for cloud storage
- Clean up the documentation
- Other things
Code of Conduct
This project adheres to a code of conduct. By participating in this project and its community, you are expected to uphold this code.
License
Easy MySQL Backup is released under the MIT License. See LICENSE
for details.
Versioning
This code uses Semver. This means that versions are tagged with MAJOR.MINOR.PATCH. Only a new major version will be allowed to break backward compatibility (BC).
Classes marked as @experimental
or @internal
are not included in our backward compatibility promise.
You are also not guaranteed that the value returned from a method is always the
same. You are guaranteed that the data type will not change.
Contributing
Contributions are welcome! To contribute, please familiarize yourself with CONTRIBUTING.md.