siba 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,16 +2,18 @@
2
2
 
3
3
  SIBA is a simple backup and restore utility. It implements daily backup rotation scheme. It is most suitable in sutuations when you need to have a history of backups. When run daily, SIBA retains full year history of backups by keeping 23 files in total: for the last 6 days, 5 weeks and 12 months.
4
4
 
5
- <img src="http://webdevelopercv.com/images/works/siba.png" width="326" height="326">
6
-
7
- ## Main features
5
+ ## SIBA is
8
6
 
9
7
  * **Easy to use:** configure, backup and restore with a single command.
8
+ * **Feature-rich:** backup and restore files, MySQL, MongoDB databases to/from local or remote locations.
10
9
  * **Secure:** all backups are encrypted before moving to destination.
11
10
  * **Cross platform:** runs on any computer with Ruby 1.9 or later.
12
11
  * **Easy to extend:** developers can easily add new backup sources, archivers, encryptions and destinations.
13
12
  * **Free and open source:** use SIBA for any purpose without restrictions.
14
13
 
14
+ ---
15
+ <img src="http://webdevelopercv.com/images/works/siba.png" width="326" height="326">
16
+
15
17
  ## Installation
16
18
 
17
19
  $ gem install siba
@@ -58,8 +60,8 @@ It is recommended to run `siba backup` command daily or hourly. Use your favouri
58
60
  ### Source
59
61
 
60
62
  * **files:** backup local files and directories.
61
- * **mongo-db:** backup and restore MongoDB
62
- * **mysql**: backup and restore MySQL database
63
+ * **mongo-db:** backup and restore MongoDB ([homepage](https://github.com/evgenyneu/siba-source-mongo-db)).
64
+ * **mysql**: backup and restore MySQL database ([homepage](https://github.com/evgenyneu/siba-source-mysql)).
63
65
 
64
66
  ### Archive
65
67
 
@@ -72,5 +74,5 @@ It is recommended to run `siba backup` command daily or hourly. Use your favouri
72
74
  ### Destination
73
75
 
74
76
  * **dir:** backup to local directory.
75
- * **aws-s3:** upload backup to Amazon S3 storage.
76
- * **ftp:** store backups on FTP server.
77
+ * **aws-s3:** upload backup to Amazon S3 storage ([homepage](https://github.com/evgenyneu/siba-destination-aws-s3)).
78
+ * **ftp:** store backups on FTP server ([homepage](https://github.com/evgenyneu/siba-destination-ftp)).
data/lib/siba/restore.rb CHANGED
@@ -53,7 +53,7 @@ private
53
53
  if list.size == 1
54
54
  return list[0][0]
55
55
  else
56
- list.sort_by!{|a| a[1]}
56
+ list.sort!{|a,b| b[1] <=> a[1]}
57
57
  siba_kernel.puts "\nAvailable '#{Siba.backup_name}' backups:\n"
58
58
  show_backups list
59
59
  file_name = get_backup_user_choice list
data/lib/siba/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module Siba
4
- VERSION = "0.5.5"
4
+ VERSION = "0.5.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-19 00:00:00.000000000 Z
12
+ date: 2012-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
16
- requirement: &81058820 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '2.10'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *81058820
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '2.10'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rake
27
- requirement: &81058590 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0.9'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *81058590
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.9'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: guard-minitest
38
- requirement: &81058360 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,7 +53,12 @@ dependencies:
43
53
  version: '0.4'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *81058360
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.4'
47
62
  description: ! 'SIBA is a backup and restore utility. It implements daily backup rotation
48
63
  scheme. It retains full year history of backups by keeping 23 files in total: for
49
64
  the last 6 days, 5 weeks and 12 months. Backups are archived and encrypted. Various
@@ -234,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
249
  version: '1.8'
235
250
  requirements: []
236
251
  rubyforge_project:
237
- rubygems_version: 1.8.11
252
+ rubygems_version: 1.8.21
238
253
  signing_key:
239
254
  specification_version: 3
240
255
  summary: Simple backup and restore utility.