spatie/laravel-backup
Spatie Laravel Backup creates zip backups of your app files and database, storing them on any Laravel filesystem (even multiple). Includes health monitoring, notifications, and automatic cleanup of old backups. Run with php artisan backup:run.
These events are fired by the monitor.
Spatie\Backup\Events\HealthyBackupWasFound
This event is fired when the monitor deems the backups on a destination filesystem to be healthy.
It has two public properties:
$diskName: a string containing the name of the destination disk.$backupName: a string containing the name of the backup.Spatie\Backup\Events\UnhealthyBackupWasFound
This event is fired when the monitor deems the backups on a destination filesystem to be unhealthy. It will also be fired if the monitor cannot read from a destination filesystem.
It has three public properties:
$diskName: a string containing the name of the destination disk.$backupName: a string containing the name of the backup.$failureMessages: a Collection of arrays, each containing a check (string) and message (string) describing what health check failed and why.How can I help you explore Laravel packages today?