diff --git a/app/Jobs/DatabaseBackupJob.php b/app/Jobs/DatabaseBackupJob.php index dc596c65c..f9e947c5a 100644 --- a/app/Jobs/DatabaseBackupJob.php +++ b/app/Jobs/DatabaseBackupJob.php @@ -113,7 +113,7 @@ public function handle(): void if ($db) { $databasesToBackup = str($db)->after('POSTGRES_DB=')->value(); } else { - throw new \Exception('POSTGRES_DB not found'); + $databasesToBackup = $this->database->postgres_user; } } else if ($databaseType === 'standalone-mysql') { $this->container_name = "{$this->database->name}-$serviceUuid";