From ead8bc77a98f988f55944ba72d14834760fe3193 Mon Sep 17 00:00:00 2001 From: Nicolai Reuschling Date: Fri, 21 Aug 2020 14:37:14 +0200 Subject: [PATCH] release v8.0.2: use --no-tablespaces with mysqldump --- lib/dkdeploy/core/version.rb | 2 +- lib/dkdeploy/tasks/db.rake | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/dkdeploy/core/version.rb b/lib/dkdeploy/core/version.rb index 82f07e4..a032076 100644 --- a/lib/dkdeploy/core/version.rb +++ b/lib/dkdeploy/core/version.rb @@ -5,7 +5,7 @@ module Core class Version MAJOR = 8 MINOR = 0 - PATCH = 1 + PATCH = 2 def self.to_s [MAJOR, MINOR, PATCH].join('.') diff --git a/lib/dkdeploy/tasks/db.rake b/lib/dkdeploy/tasks/db.rake index 064fdb8..ea4fd07 100644 --- a/lib/dkdeploy/tasks/db.rake +++ b/lib/dkdeploy/tasks/db.rake @@ -118,7 +118,7 @@ namespace :db do execute :rm, '-f', remote_dump_file execute :rm, '-f', remote_zipped_dump_file execute :mysqldump, - '--no-data', '--skip-set-charset', + '--no-data', '--skip-set-charset', '--no-tablespaces', "--default-character-set=#{db_settings.fetch('charset')}", '-u', db_settings.fetch('username'), '-p', @@ -155,6 +155,7 @@ namespace :db do execute :mysqldump, "--default-character-set=#{db_settings.fetch('charset')}", '--skip-set-charset', + '--no-tablespaces', '-u', db_settings.fetch('username'), '-p', '-h', db_settings.fetch('host'), '-P', db_settings.fetch('port'), ignore_tables_command_line, db_settings.fetch('name'), @@ -186,7 +187,7 @@ namespace :db do execute :rm, '-f', remote_dump_file execute :rm, '-f', remote_zipped_dump_file execute :mysqldump, - '--no-data', '--skip-set-charset', + '--no-data', '--skip-set-charset', '--no-tablespaces', "--default-character-set=#{db_settings.fetch('charset')}", '-u', db_settings.fetch('username'), '-p', @@ -221,7 +222,7 @@ namespace :db do execute :rm, '-f', remote_file_name execute :rm, '-f', remote_zipped_file execute :mysqldump, - '--no-data', '--skip-set-charset', + '--no-data', '--skip-set-charset', '--no-tablespaces', '--no-create-info', '--skip-comments', '--skip-extended-insert', '--skip-set-charset', "--default-character-set=#{db_settings.fetch('charset')}", @@ -320,7 +321,7 @@ namespace :db do "--default-character-set=#{db_settings.fetch('charset')}", '--no-create-info', '--skip-comments', '--skip-extended-insert', '--skip-set-charset', - '--complete-insert', + '--complete-insert', '--no-tablespaces', '-u', db_settings.fetch('username'), '-p', '-h', db_settings.fetch('host'), '-P', db_settings.fetch('port'),