Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: Blanket is a flexible backup framework designed to get the drudgery out of the way and to make automated backups easy.
Homepage: http://jimvanfleet.com/projects/blanket
Clone URL: git://github.com/bigfleet/blanket.git
Search Repo:
OK, one last one.  I'll have to look about getting RDoc into the gem some 
other time.
bigfleet (author)
Thu Apr 17 21:54:24 -0700 2008
commit  ed6764801d79a77744d03d34d4f3e86baa84f93a
tree    ce45d5cf3326b5201bd56fff4e45fd29664a501c
parent  cee0d8b03e5699e0e6f7ce30cade8a292ebbff9b
...
7
8
9
 
 
 
 
 
 
 
 
 
 
 
 
10
11
12
 
13
14
15
16
 
17
18
19
20
 
21
22
23
24
 
25
26
27
28
29
 
30
31
32
33
34
35
 
36
37
38
39
40
41
 
42
43
44
45
46
47
48
49
 
 
 
50
51
52
53
54
55
 
56
57
58
...
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
24
25
26
27
 
28
29
30
31
 
32
33
34
35
 
36
37
38
39
40
 
41
42
43
44
45
46
 
47
48
49
50
51
52
 
53
54
55
56
57
58
 
 
 
59
60
61
62
63
64
65
66
 
67
68
69
70
0
@@ -7,52 +7,64 @@
0
 #
0
 # Using this sink will ultimately yield a command similar to:
0
 # <code>scp <local_path> <host>:<remote_path></code>
0
+#
0
+# When using <code>blanket-cfg</code> with the <code>-o Scp</code> argument,
0
+# you'll need to supply the correct details for the following attributes
0
+# in the source.yml file.
0
+#
0
+# [user] Username on the remote system.
0
+# [password] Password on the remote system.
0
+# [host] Domain name of the remote system.
0
+# [remote_path] The path on the remote system that you'd like to upload the blanket to.
0
+# [local_path] The location on client running the blanket where the database backup is stored before being sent to a sink.
0
+
0
+
0
 class Scp < Sink
0
   
0
- def initialize(reader) # :nodoc:
0
+ def initialize(reader) #:nodoc:
0
     @reader = reader
0
   end
0
   
0
- def self.attribute_symbols # :nodoc:
0
+ def self.attribute_symbols #:nodoc:
0
     [:sink_type, :host, :user, :password, :remote_path, :local_path ]
0
   end
0
   
0
- def self.default_sink_type
0
+ def self.default_sink_type #:nodoc:
0
     "Scp"
0
   end
0
   
0
- def self.default_host
0
+ def self.default_host #:nodoc:
0
     "yourhost.com"
0
   end
0
   
0
   # Your username on the remote system.
0
- def self.default_user
0
+ def self.default_user #:nodoc:
0
     "username"
0
   end
0
   
0
   # Your password for the remote system. May not be needed if you have
0
   # set up SSH keys.
0
- def self.default_password
0
+ def self.default_password #:nodoc:
0
     "password"
0
   end
0
   
0
   # The path on the remote filesystem that you want to SCP the file. You
0
   # may have success with relative paths, but I haven't.
0
- def self.default_remote_path
0
+ def self.default_remote_path #:nodoc:
0
     "/path/to/remote/backup/directory"
0
   end
0
   
0
   # The path on the client filesystem where the backup file resides after
0
   # downloading from the source. Right now, there is only good support
0
- # for having this path within your blanket task directory itself.
0
- # See http://bigfleet.lighthouseapp.com/projects/8764/tickets/4-remove-task-directory-dependence-for-storing-backup-file-on-client
0
- def self.default_local_path
0
+ # for having this path within your blanket task directory itself. See the ticket.
0
+ # [http://bigfleet.lighthouseapp.com/projects/8764/tickets/4-remove-task-directory-dependence-for-storing-backup-file-on-client]
0
+ def self.default_local_path #:nodoc:
0
     "/path/to/local/blanket"
0
   end
0
   
0
   # Not sure how this will be used yet, planned for a part of an
0
   # upcoming release.
0
- def cleanup_command
0
+ def cleanup_command #:nodoc:
0
     noop
0
   end
0
   

Comments

    No one has commented yet.