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 +4 -4
- data/lib/load_remote_db/version.rb +1 -1
- data/lib/tasks/load_remote_db.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 274263f5777ca72ddd1a884ebee14d2ae8650ac26ae9f8e40f3ec2c9b8ddbc37
|
4
|
+
data.tar.gz: 0346c9fb594f65fde7615dfc8b9cb8b017565d7c052e8c9962826c3b2af459a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16087a6c18d11924d2532c64111565a392174b74f134fef527c502a81696680ee9d79da718393c939fcc32ab3f957a3b1bcc1e2917e3676e351ee858f8936824
|
7
|
+
data.tar.gz: 0e2e80f62ce9094f29e72d09c77edb2f27d6539eaffb5dcdc03b5a2b5977b227d880e0b8b223981e77e23d7b6cbeede522911c1cc46a38798d22b2849f4da2cc
|
@@ -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}
|
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)
|