Merge pull request #1413 from coollabsio/next
Refactored database backup job to handle missing
This commit is contained in:
		@@ -113,7 +113,7 @@ class DatabaseBackupJob implements ShouldQueue, ShouldBeEncrypted
 | 
			
		||||
                    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";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user