From 6724489be2ddc5d3c6b1a3545ea2c28ed9737a97 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 19 May 2016 23:37:36 -0700 Subject: [PATCH] Added additional dump variables --- .env.example | 1 + config/database.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.env.example b/.env.example index 289a7c1c33..6239c0e226 100644 --- a/.env.example +++ b/.env.example @@ -18,6 +18,7 @@ DB_DATABASE=null DB_USERNAME=null DB_PASSWORD=null DB_PREFIX=null +DB_DUMP_PATH='/usr/local/bin' # -------------------------------------------- # REQUIRED: OUTGOING MAIL SERVER SETTINGS diff --git a/config/database.php b/config/database.php index a36b8e789b..5eeaaa259b 100644 --- a/config/database.php +++ b/config/database.php @@ -69,6 +69,9 @@ return [ 'prefix' => env('DB_PREFIX', null), 'strict' => false, 'engine' => null, + 'dump_command_path' => env('DB_DUMP_PATH', '/usr/local/bin'), // only the path, so without 'mysqldump' + 'dump_command_timeout' => 60 * 5, // 5 minute timeout + 'dump_using_single_transaction' => true, // perform dump using a single transaction ], 'pgsql' => [