Skip to content

Commit

Permalink
Delete old dump, --hex-blob
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Oct 26, 2023
1 parent 96d30bc commit 35ce1f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Drush/Commands/OpenShiftDrushCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,20 @@ public function getDatabaseDump() : int {
$data = json_decode($output);
$pod = $this->getDrupalPodName($data->items);

$this->invokeOc([
'rsh',
$pod,
'rm',
'-f',
'/tmp/dump.sql',
]);
$this->invokeOc([
'rsh',
$pod,
'drush',
'sql:dump',
'--structure-tables-key=common',
'--extra-dump="--no-tablespaces"',
'--extra-dump=--no-tablespaces --hex-blob',
'--result-file=/tmp/dump.sql',
]);
$this->invokeOc([
Expand Down

0 comments on commit 35ce1f1

Please sign in to comment.