backup_restore 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backup_restore.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5181d59c2007b9d627c12211d502638a1ec611227b26e8a792ee048d8655de41
|
4
|
+
data.tar.gz: f71bf352ba9ba6309929a693d11aebd7330aecc2aee79c2da19f71211f7ce115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61bfb448944d0a9134b16f3388c3073dd69843d08d76e6beb0c9caeba940781373267a99499ca2c50aa58aebed22e1866e4ad17514b0ce96dfed06934a57110a
|
7
|
+
data.tar.gz: 997010fedc03b0c6f9d6c058a05545f769bb4c206fc047546f3ed95f30925fa5d3df7913d74757a4b69e8d902816cffff3953531d06a338b21e31b591cfda4f1
|
data/lib/backup_restore.rb
CHANGED
@@ -91,7 +91,7 @@ class BackupRestore
|
|
91
91
|
storage = get_storage_folder(archive_storage_root, archive_name)
|
92
92
|
output_archive = archive_name + '.tar'
|
93
93
|
change_directory(storage)
|
94
|
-
command = "openssl aes-256-cbc -
|
94
|
+
command = "openssl aes-256-cbc -d -in '#{archive_name}.tar.enc' -k '#{password}' -out '#{output_archive}'"
|
95
95
|
execute_command(command)
|
96
96
|
end
|
97
97
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backup_restore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Konieczny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: matkoniecz-ruby-style
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
requirements: []
|
54
|
-
rubygems_version: 3.0.
|
54
|
+
rubygems_version: 3.0.6
|
55
55
|
signing_key:
|
56
56
|
specification_version: 4
|
57
57
|
summary: Script for unpacking backups produced by the backup gem.
|