Skip to content

Commit

Permalink
fix: undid custom type for postgres dump
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Jun 28, 2024
1 parent 77b7b7c commit 90d0212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/Backup/Backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ protected function dumpRemoteDatabase(
);
} elseif ($databaseType === BackupConstants::DATABASE_TYPE_POSTGRESQL) {
$dumpCommand = sprintf(
'PGPASSWORD=%s pg_dump %s %s > %s --format=custom 2>&1',
'PGPASSWORD=%s pg_dump %s %s > %s 2>&1',
escapeshellarg($databasePassword),
escapeshellarg($databaseName),
$excludeTablesOption,
Expand Down

0 comments on commit 90d0212

Please sign in to comment.