/laravel-backup

Easily backup your Laravel application

Primary LanguagePHPMIT LicenseMIT

Laravel Backup

Laravel Backup

Latest Version on Packagist run-tests GitHub Code Style Action Status Total Downloads


Advanced, Flexible and Extensible Backup Automation tool for Laravel 9

Installation

You can install the package via composer:

composer require isaeken/laravel-backup

Usage

Work in progress do not use in production!

php artisan backup:run
php artisan backup:run --services=database,storage
php artisan backup:run --storages=local,s3,gcloud
php artisan backup:run --disable-notifications
php artisan backup:run --timeout=3

php artisan backup:list
output:
+---+--------------------------------------------+-------+---------------------+----------+
| # | Name                                       | Disk  |                Date |     Size |
+---+--------------------------------------------+-------+---------------------+----------+
| 1 | backup_2022-03-13-22-48-29.zip             | local | 2022-03-13 22:48:29 | 29.99 KB |
| 2 | backup_database_2022-03-13-22-48-29.sqlite | local | 2022-03-13 22:48:29 |    48 KB |
+---+--------------------------------------------+-------+---------------------+----------+
******************************************
*     Totally Used Storage: 77.99 KB     *
******************************************

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT), Please see License File for more information.