cubesystems / laravel-mysql-s3-backup
There is no license information available for the latest version (1.2) of this package.
Backup the MySQL database of your Laravel app to Amazon S3
1.2
2023-11-14 09:25 UTC
Requires
- php: ^8.0|^8.1|^8.2
- aws/aws-sdk-php: ^3.63
- illuminate/console: ^5.5||^6.0||^7.0||^8.0||^9.0||^10.0
- illuminate/support: ^5.5||^6.0||^7.0||^8.0||^9.0||^10.0
This package is auto-updated.
Last update: 2024-12-14 11:42:45 UTC
README
This is a very simple database backup script for Laravel. It takes a mysqldump
and saves it to Amazon S3 or compatible object storage.
This package is very opinionated. Other backup scripts can support other database types or other places besides S3 to store your backup. This does not.
Installation
-
Install package
composer require cubesystems/laravel-mysql-s3-backup
-
Publish and edit the config
php artisan vendor:publish --provider="LaravelMysqlS3Backup\ServiceProvider"
Edit
config/mysql-s3-backup.php
Usage
$ php artisan db:backup
That's it. No arguments or optional parameters.
Credit
This package was originally forked from fitztrev before a complete rewrite.
License
Laravel MySQL to S3 Backup is open-sourced software licensed under the MIT license.