diff --git a/web/app/Console/Commands/RunBackup.php b/web/app/Console/Commands/RunBackup.php index dab766e..e682284 100644 --- a/web/app/Console/Commands/RunBackup.php +++ b/web/app/Console/Commands/RunBackup.php @@ -30,6 +30,8 @@ class RunBackup extends Command */ public function handle() { + // TODO - Don't run backups parallel + return; // Delete backups older than 7 days $findBackupsForDeleting = Backup::where('created_at', '<', now()->subDays(7))->get(); foreach ($findBackupsForDeleting as $backup) { diff --git a/web/app/Console/Commands/RunHostingSubscriptionsBackup.php b/web/app/Console/Commands/RunHostingSubscriptionsBackup.php index 45f9030..ee30033 100644 --- a/web/app/Console/Commands/RunHostingSubscriptionsBackup.php +++ b/web/app/Console/Commands/RunHostingSubscriptionsBackup.php @@ -31,6 +31,9 @@ class RunHostingSubscriptionsBackup extends Command */ public function handle() { + // TODO - Don't run backups parallel + return; + // Delete backups older than 7 days $findBackupsForDeleting = HostingSubscriptionBackup::where('created_at', '<', now()->subDays(7))->get(); foreach ($findBackupsForDeleting as $backup) {