berty 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/berty/server.rb +1 -1
- metadata +3 -3
data/lib/berty/server.rb
CHANGED
@@ -42,7 +42,7 @@ module Berty
|
|
42
42
|
run "mv #{dir[:destination]}/2/ #{dir[:destination]}/3/"
|
43
43
|
run "mv #{dir[:destination]}/1/ #{dir[:destination]}/2/"
|
44
44
|
Berty.logger.info " archiving previous backup: '#{dir[:path]}' to '#{dir[:destination]}/1/'"
|
45
|
-
run "cp -
|
45
|
+
run "cp -al #{dir[:destination]}/0/ #{dir[:destination]}/1/"
|
46
46
|
Berty.logger.info " starting backup of: '#{dir[:path]}' to '#{dir[:destination]}'"
|
47
47
|
run "rsync -a #{username}@#{hostname}:#{dir[:path]}/ #{dir[:destination]}/0/"
|
48
48
|
Berty.logger.info " finished backup of: '#{dir[:path]}' to '#{dir[:destination]}'"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Adam Cooke
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-05-19 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|