astrails-safe 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +8 -4
- data/Rakefile +3 -2
- data/VERSION.yml +1 -1
- metadata +17 -5
data/README.markdown
CHANGED
@@ -3,7 +3,7 @@ astrails-safe
|
|
3
3
|
|
4
4
|
Simple database and filesystem backups with S3 support (with optional encryption)
|
5
5
|
|
6
|
-
Home:
|
6
|
+
Home: http://blog.astrails.com/astrails-safe
|
7
7
|
|
8
8
|
Motivation
|
9
9
|
----------
|
@@ -30,9 +30,13 @@ The following functionality was contributed by astrails-safe users:
|
|
30
30
|
* SFTP remote storage (by Adam <adam@mediadrive.ca>)
|
31
31
|
* benchmarking output (By Neer)
|
32
32
|
|
33
|
-
|
34
33
|
Thanks to all :)
|
35
34
|
|
35
|
+
Installation
|
36
|
+
------------
|
37
|
+
|
38
|
+
sudo gem install astrails-safe --source http://gemcutter.org
|
39
|
+
|
36
40
|
Reporting problems
|
37
41
|
------------------
|
38
42
|
|
@@ -71,14 +75,14 @@ We recommend also pringing the hard paper copy of your GPG key 'just in case'.
|
|
71
75
|
|
72
76
|
The procedure to create and transfer the key is as follows:
|
73
77
|
|
74
|
-
1. run 'gpg --gen-
|
78
|
+
1. run 'gpg --gen-key' on your local machine and follow onscreen instructions to create the key
|
75
79
|
(you can accept all the defaults).
|
76
80
|
|
77
81
|
2. extract your public key into a file (assuming you used test@example.com as your key email):
|
78
82
|
gpg -a --export test@example.com > test@example.com.pub
|
79
83
|
|
80
84
|
3. transfer public key to the server
|
81
|
-
scp
|
85
|
+
scp test@example.com.pub root@example.com:
|
82
86
|
|
83
87
|
4. import public key on the remote system:
|
84
88
|
<pre>
|
data/Rakefile
CHANGED
@@ -4,15 +4,16 @@ require 'rake'
|
|
4
4
|
begin
|
5
5
|
require 'jeweler'
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "safe"
|
7
|
+
gem.name = "astrails-safe"
|
8
8
|
gem.summary = %Q{Backup filesystem and databases (MySQL and PostgreSQL) to Amazon S3 (with encryption)}
|
9
9
|
gem.description = "Simple tool to backup databases (MySQL and PostgreSQL) and filesystem locally or to Amazon S3 (with optional encryption)"
|
10
10
|
gem.email = "we@astrails.com"
|
11
|
-
gem.homepage = "http://
|
11
|
+
gem.homepage = "http://blog.astrails.com/astrails-safe"
|
12
12
|
gem.authors = ["Astrails Ltd.", "Mark Mansour"]
|
13
13
|
gem.files = FileList["[A-Z]*.*", "{bin,examples,generators,lib,rails,spec,test,templates}/**/*", 'Rakefile', 'LICENSE*']
|
14
14
|
|
15
15
|
gem.add_dependency("aws-s3")
|
16
|
+
gem.add_dependency("net-sftp")
|
16
17
|
|
17
18
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
18
19
|
end
|
data/VERSION.yml
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: astrails-safe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Astrails Ltd.
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-
|
13
|
+
date: 2009-10-09 00:00:00 +02:00
|
14
14
|
default_executable: astrails-safe
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -23,6 +23,16 @@ dependencies:
|
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: "0"
|
25
25
|
version:
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: net-sftp
|
28
|
+
type: :runtime
|
29
|
+
version_requirement:
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
35
|
+
version:
|
26
36
|
description: Simple tool to backup databases (MySQL and PostgreSQL) and filesystem locally or to Amazon S3 (with optional encryption)
|
27
37
|
email: we@astrails.com
|
28
38
|
executables:
|
@@ -71,7 +81,9 @@ files:
|
|
71
81
|
- lib/extensions/mktmpdir.rb
|
72
82
|
- templates/script.rb
|
73
83
|
has_rdoc: true
|
74
|
-
homepage: http://
|
84
|
+
homepage: http://blog.astrails.com/astrails-safe
|
85
|
+
licenses: []
|
86
|
+
|
75
87
|
post_install_message:
|
76
88
|
rdoc_options:
|
77
89
|
- --charset=UTF-8
|
@@ -92,9 +104,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
104
|
requirements: []
|
93
105
|
|
94
106
|
rubyforge_project:
|
95
|
-
rubygems_version: 1.
|
107
|
+
rubygems_version: 1.3.5
|
96
108
|
signing_key:
|
97
|
-
specification_version:
|
109
|
+
specification_version: 3
|
98
110
|
summary: Backup filesystem and databases (MySQL and PostgreSQL) to Amazon S3 (with encryption)
|
99
111
|
test_files:
|
100
112
|
- examples/example_helper.rb
|