diff --git a/web/app/Filament/Enums/BackupType.php b/web/app/Filament/Enums/BackupType.php index 8d5c41b6..691a4355 100644 --- a/web/app/Filament/Enums/BackupType.php +++ b/web/app/Filament/Enums/BackupType.php @@ -11,14 +11,12 @@ enum BackupType: string implements HasLabel, HasDescriptions, HasIcons case FULL_BACKUP = 'full'; case SYSTEM_BACKUP = 'system'; - case DATABASE_BACKUP = 'database'; case HOSTING_SUBSCRIPTION_BACKUP = 'hosting_subscription'; public function getLabel(): ?string { return match ($this) { self::FULL_BACKUP => 'Full Backup', - self::SYSTEM_BACKUP => 'System Backup', - self::DATABASE_BACKUP => 'Database Backup', + self::SYSTEM_BACKUP => 'System', self::HOSTING_SUBSCRIPTION_BACKUP => 'Hosting Subscription Backup', }; } @@ -26,10 +24,9 @@ public function getLabel(): ?string public function getDescriptions(): ?string { return match ($this) { - self::FULL_BACKUP => 'A full backup is a complete copy of your website files and database. It is the best way to protect your website data.', - self::SYSTEM_BACKUP => 'A system backup is a copy of your website files and system files. It is useful for restoring your website if there is a problem with the system files.', - self::DATABASE_BACKUP => 'A database backup is a copy of your website database. It is useful for restoring your website if there is a problem with the database.', - self::HOSTING_SUBSCRIPTION_BACKUP => 'A hosting subscription backup is a copy of your website files and database. It is useful for restoring your website if there is a problem with the hosting subscription.', + self::FULL_BACKUP => 'A full backup of the server. Includes phyre system full configuration and hosting subscriptions.', + self::SYSTEM_BACKUP => 'A backup of the phyre system full configuration', + self::HOSTING_SUBSCRIPTION_BACKUP => 'A backup of a hosting subscription', }; } @@ -38,7 +35,6 @@ public function getIcons(): ?string return match ($this) { self::FULL_BACKUP => 'heroicon-o-inbox-stack', self::SYSTEM_BACKUP => 'heroicon-o-cog', - self::DATABASE_BACKUP => 'phyre-mysql', self::HOSTING_SUBSCRIPTION_BACKUP => 'heroicon-o-server', }; }