spatie/nova-backup-tool
Laravel Nova tool for managing application backups via spatie/laravel-backup. View all backups, run new backups, download archives, and delete old backups from the Nova dashboard.
spatie/laravel-backup. Requires configuring storage disks in .env.| Risk Area | Assessment | Mitigation Strategy |
|---|---|---|
| Backup Corruption | Risk of incomplete/partial backups if storage fails mid-operation. | Use spatie/laravel-backup's built-in retries and validate backups post-creation. |
| Performance Impact | Large backups may slow Nova’s UI or server. | Schedule backups during off-peak hours; use Nova’s queued tools feature. |
| Storage Costs | Unmonitored backups could inflate cloud storage costs. | Implement retention policies (e.g., delete backups older than 30 days). |
| Nova Version Lock | Package may lag behind Nova’s latest features. | Monitor Spatie’s release notes and test upgrades. |
| Customization Limits | Deep customization may require overriding Nova tool views/templates. | Use Nova’s tool hooks or extend the package via service providers. |
spatie/laravel-backup)?spatie/laravel-backup supports GPG)?spatie/laravel-backup.spatie/laravel-backup and configure storage disks in .env:
BACKUP_DISK=s3
AWS_ACCESS_KEY_ID=...
AWS_SECRET_ACCESS_KEY=...
composer require spatie/nova-backup-tool
NovaServiceProvider:
public function tools()
{
return [
\Spatie\NovaBackupTool\NovaBackupTool::make(),
];
}
php artisan vendor:publish --provider="Spatie\NovaBackupTool\NovaBackupToolServiceProvider"
config/nova-backup-tool.php.// app/Console/Kernel.php
protected function schedule(Schedule $schedule)
{
$schedule->command(\Spatie\Backup\Commands\BackupCommand::class)
->dailyAt('2:00');
}
spatie/laravel-backup).resources/js/tools.spatie/nova-backup-tool.spatie/nova-backup-tool and spatie/laravel-backup for updates.spatie/laravel-backup logging to track backup success/failure:
'logging' => [
'enabled' => true,
'path' => storage_path('logs/backups.log'),
],
spatie/laravel-backup for breaking changes (e.g., storage driver API shifts).php artisan nova:cache-reset).How can I help you explore Laravel packages today?