load_remote_db 0.1.21 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d06b4be8b95d62ce98257d2798e317c1d04067bd92ff07dbaf74de01b4e7caed
4
- data.tar.gz: 6ee1b896b5dc8aa51e842d1762a84c1ee16f26030eca148912b25e1e867e3157
3
+ metadata.gz: 274263f5777ca72ddd1a884ebee14d2ae8650ac26ae9f8e40f3ec2c9b8ddbc37
4
+ data.tar.gz: 0346c9fb594f65fde7615dfc8b9cb8b017565d7c052e8c9962826c3b2af459a2
5
5
  SHA512:
6
- metadata.gz: 3fd01cb1e4ac53d586647cab1555b27f3ebd4599bca1e7c3ee4c0d97f4a93ab62798b89eebd92784ca45aebcd92b41452fe90af79eae95e0d123dde38706b7f0
7
- data.tar.gz: b5e35fb5c33d138cdf8658d793549b5523e031e3ea618778f41dcaa2fd5d7519d7e1fa4315c297453f32ea02e8647690b912aad5d2c66846f199a16207205511
6
+ metadata.gz: 16087a6c18d11924d2532c64111565a392174b74f134fef527c502a81696680ee9d79da718393c939fcc32ab3f957a3b1bcc1e2917e3676e351ee858f8936824
7
+ data.tar.gz: 0e2e80f62ce9094f29e72d09c77edb2f27d6539eaffb5dcdc03b5a2b5977b227d880e0b8b223981e77e23d7b6cbeede522911c1cc46a38798d22b2849f4da2cc
@@ -1,3 +1,3 @@
1
1
  module LoadRemoteDb
2
- VERSION = '0.1.21'.freeze
2
+ VERSION = '0.1.22'.freeze
3
3
  end
@@ -55,7 +55,7 @@ class RemoteDbLoader
55
55
  ## run the real backup
56
56
  puts 'Running the remote backup...'
57
57
  mysql_cmd = "mysqldump -u #{remote_db_username} -p'#{remote_db_password}' \
58
- -h #{remote_db_host} --set-gtid-purged=OFF #{remote_db_name} > \
58
+ -h #{remote_db_host} #{remote_db_name} > \
59
59
  #{shared_path}/backup.sql".shellescape
60
60
  backup_command = %(ssh #{@server_user}@#{@server_ip} -p#{port} #{mysql_cmd})
61
61
  system(backup_command)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: load_remote_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Huynh