-
Notifications
You must be signed in to change notification settings - Fork 23
Description
When I try to create a backup with ./bin/storage dump I'd had an error with mysqldump.
docker exec -ti phabricator_phabricator_1 bash -c './phabricator/bin/storage dump --compress --output /tmp/backup.sql.gz'
sh: 1: mysqldump: not found
[2021-02-10 19:37:55] EXCEPTION: (CommandException) Command failed with error #127!
COMMAND
mysqldump -p'********' --hex-blob --single-transaction --default-character-set utf8mb4 -u root -h phabricator_database_1 --max-allowed-packet 1G -- phabricator_almanac almanac_binding
STDOUT
(empty)
STDERR
sh: 1: mysqldump: not found
at [/src/future/exec/ExecFuture.php:421]
arcanist(), phabricator()
#0 ExecFuture::raiseResultError(array) called at [/src/future/exec/ExecFuture.php:325]
#1 ExecFuture::resolvex() called at [/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDumpWorkflow.php:320]
#2 PhabricatorStorageManagementDumpWorkflow::didExecute(PhutilArgumentParser) called at [/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php:107]
#3 PhabricatorStorageManagementWorkflow::execute(PhutilArgumentParser) called at [/src/parser/argument/PhutilArgumentParser.php:492]
#4 PhutilArgumentParser::parseWorkflowsFull(array) called at [/src/parser/argument/PhutilArgumentParser.php:377]
#5 PhutilArgumentParser::parseWorkflows(array) called at [/scripts/sql/manage_storage.php:249]
Could you please add to Dockerfile mysql-client?