Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
release v8.0.2: use --no-tablespaces with mysqldump
Browse files Browse the repository at this point in the history
  • Loading branch information
ncreuschling committed Aug 21, 2020
1 parent f03ffc3 commit ead8bc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/dkdeploy/core/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Core
class Version
MAJOR = 8
MINOR = 0
PATCH = 1
PATCH = 2

def self.to_s
[MAJOR, MINOR, PATCH].join('.')
Expand Down
9 changes: 5 additions & 4 deletions lib/dkdeploy/tasks/db.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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'),
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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')}",
Expand Down Expand Up @@ -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'),
Expand Down

0 comments on commit ead8bc7

Please sign in to comment.