backup-agent 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 820a15a09fd0413a06a73500bee8889cf9dba6a5
4
- data.tar.gz: ad4d69b45552d4a52a462eec64e507e64c15873b
3
+ metadata.gz: 097cb7442ca1df2a35da304073f1f8eb27a1fc4b
4
+ data.tar.gz: b4f5c9696a060679a9791fc7ae0925b4b998833a
5
5
  SHA512:
6
- metadata.gz: b311d7a0c1bf67cf4f25de10eaa271d3238e75bb350775c611523876fcb2795d79c229668c953b4cd9857418ab6bdf0d7fe62294d83e4d1c549ee8da45ef04b1
7
- data.tar.gz: dd45244140b0445f76337991825a3bacfe660885acf52f2a70c86d8ea2a685abb7b7283a3a0508b42b1fc9b02f2e3032a4b5d578cdf20b9091940af26d11df21
6
+ metadata.gz: 9e2554db02299bc6cc2bf813e8cf1e4b0bf49901860d01f52667e6b173787fd8ef3e376043688977add913e2796ec12e1ad217f76c33119084864190d533ffad
7
+ data.tar.gz: bbf52beb7a833e7fe33d47778f6fc84d6b3cf70a6fad797e6727364176e627ab9a5ef8fc1ff07563d081db72fa6bc9c6d673c5e0a7ef420d4920812377094585
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'backup-agent'
5
- s.version = '1.0.8'
5
+ s.version = '1.0.9'
6
6
  s.authors = ['Yaroslav Konoplov']
7
7
  s.email = ['yaroslav@inbox.com']
8
8
  s.summary = 'Easy AWS S3 backup'
@@ -42,7 +42,7 @@ module Backup
42
42
  FileUtils.mkdir_p(files_tmp_path)
43
43
  FileUtils.cp(files.select { |el| File.exists?(el) }, files_tmp_path)
44
44
 
45
- cmd = "cd #{files_tmp_path} && /usr/bin/env XZ_OPT=-9 tar -cJvf #{tmp_path}/#{file_bunch_param} ."
45
+ cmd = "cd #{files_tmp_path} && /usr/bin/env XZ_OPT=-3 tar -cJvf #{tmp_path}/#{file_bunch_param} ."
46
46
  system(cmd)
47
47
 
48
48
  storage.upload("#{@timestamp}/#{file_bunch_name}", "#{tmp_path}/#{file_bunch_name}")
@@ -58,7 +58,7 @@ module Backup
58
58
  dump_cmd = "mysqldump #{config.get(:mysql_connect)} #{config.get(:mysqldump_options).join(' ')} --databases #{db}"
59
59
 
60
60
  exec with_env("#{dump_cmd} > #{dump_path}")
61
- exec with_env("xz --compress --extreme -9 --keep --threads=0 --verbose #{dump_path}")
61
+ exec with_env("xz --compress -9 --keep --threads=0 --verbose #{dump_path}")
62
62
 
63
63
  storage.upload("#{@timestamp}/#{ shell_escape(db) }.sql.xz", "#{dump_path}.xz")
64
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Konoplov