backup-ssh 4.4.3 → 4.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backup/database/mysql.rb +11 -7
- data/lib/backup/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90ff579bff740d6540b19fb38c45ec8ba4ade5339476061011369ccd6c8b4934
|
4
|
+
data.tar.gz: 422cfa737337ec3a07cce65ff37b3f91ef7456a47bc56f468c896c9f5aeeb1b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57f043b2014dcb317b6919da94dd5342d2d8d4f70ac44d4424a428f7214cdf6713d9bbea128c6beb99b64e26db3efeca0e60a1f04a16781354950bb7c8fe8506
|
7
|
+
data.tar.gz: b4ae64e4880f1d7a7dc60a874ab3544b1f443c9c3e32dc8f709ea0dbe48c727a095af2328aa9f4c723850fea5576426538a1f7eba1669e47a3da3a79bd58f1bf
|
@@ -105,13 +105,17 @@ module Backup
|
|
105
105
|
private
|
106
106
|
|
107
107
|
def mysqldump
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
108
|
+
[
|
109
|
+
("ssh #{ssh}" if ssh),
|
110
|
+
("MYSQL_PWD='#{Shellwords.escape(password)}'" if password),
|
111
|
+
utility(:mysqldump),
|
112
|
+
user_options,
|
113
|
+
("--user='#{Shellwords.escape(username)}'" if username),
|
114
|
+
connectivity_options,
|
115
|
+
name_option,
|
116
|
+
tables_to_dump,
|
117
|
+
tables_to_skip
|
118
|
+
].compact.join(' ')
|
115
119
|
end
|
116
120
|
|
117
121
|
def credential_options
|
data/lib/backup/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backup-ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Meurer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: CFPropertyList
|