Files
ABSDEV/Modules/Enterprise/Console/BackupCreateCommand.php
T
Mark Gregory 44684c93e5 Enterprise Services administration dashboard
* Database health checks
* Cache health checks
* Storage write and disk-space checks
* Failed queue job monitoring
* Production environment diagnostics
* Persisted health-check history
* Queue retry controls
* Scheduler execution controls
* Cache and optimisation clearing
* Backup creation and retention
* Backup deletion
* SQLite database backup support
* Backup manifests and module metadata
* Artisan health and backup commands
* Administration navigation
* Enterprise permissions
* Module registration and tests
2026-07-24 12:14:58 +01:00

13 lines
450 B
PHP

<?php
namespace Modules\Enterprise\Console;
use Illuminate\Console\Command;
use Modules\Enterprise\Services\BackupService;
final class BackupCreateCommand extends Command
{
protected $signature = 'enterprise:backup';
protected $description = 'Create a platform backup archive.';
public function handle(BackupService $service): int { $backup = $service->create(); $this->info('Backup created: '.$backup->path); return self::SUCCESS; }
}