do_snapshot 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -7
- data/lib/do_snapshot/version.rb +1 -1
- data/lib/do_snapshot.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e50e39afd9fac811be4207a14b617657b693cd82
|
4
|
+
data.tar.gz: 6f986b2879036aa093088593a553c2e87eb0f6d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30c103ccbeb7b93993a0f675cb084c367aabf5f1bd6a7e996a16cd089ce1ad93048d421b8abd3e1cf815afd960bf891bd3ed9ae42d7cd5c85fc7df99e6e186e6
|
7
|
+
data.tar.gz: 70d05a6af6884d49e78aa232a62976e76a0b6743f677f4b7ea201d325bc06c0ab61e4cd0e27d536dacb8134e21c09c885c8703f22f5bdcde65ed9cb8d49c2e30
|
data/README.md
CHANGED
@@ -46,12 +46,8 @@ If you want to set keys without environment, than set it via options when you ru
|
|
46
46
|
$ do_snapshot --digital-ocean-client-id YOURLONGAPICLIENTID --digital-ocean-api-key YOURLONGAPIKEY
|
47
47
|
|
48
48
|
#### Basic usage
|
49
|
-
|
50
|
-
|
51
|
-
Here we `keeping` only 5 `latest` snapshots and `cleanup` older after new one is created.
|
52
|
-
**If creation of snapshots failed no one will be deleted.**
|
53
|
-
|
54
|
-
**By default we `keep` 10 droplets.**
|
49
|
+
|
50
|
+
Here we `keeping` only 5 **latest** snapshots and cleanup older after new one is created. If creation of snapshots failed no one will be deleted. By default we keeping `10` droplets.
|
55
51
|
|
56
52
|
$ do_snapshot --keep 5 -c
|
57
53
|
|
@@ -78,7 +74,7 @@ For working mailer you need to set e-mail settings via run options.
|
|
78
74
|
|
79
75
|
#### Real world example
|
80
76
|
|
81
|
-
$ bin/do_snapshot --only 123456 -k 3 -c -m to:TO from:FROM -t address:HOST user_name:LOGIN password:PASSWORD port:2525 -v
|
77
|
+
$ bin/do_snapshot --only 123456 -k 3 -c -m to:TO from:FROM -t address:HOST user_name:LOGIN password:PASSWORD port:2525 -v
|
82
78
|
|
83
79
|
Checking DigitalOcean Id's.
|
84
80
|
Start performing operations
|
data/lib/do_snapshot/version.rb
CHANGED
data/lib/do_snapshot.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: do_snapshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Merkulov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: digitalocean
|