siba 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -57,17 +57,19 @@ It is recommended to run `siba backup` command daily or hourly. Use your favouri
57
57
 
58
58
  ### Source
59
59
 
60
- * **Files:** backup local files and directories.
60
+ * **files:** backup local files and directories.
61
+ * **mongo-db:** backup and restore MongoDB
61
62
 
62
63
  ### Archive
63
64
 
64
- * **Tar:** archive with optional gzip or bzip2 compression.
65
+ * **tar:** archive with optional gzip or bzip2 compression.
65
66
 
66
67
  ### Encryption
67
68
 
68
- * **Gpg:** encrypt with AES256, Blowfish, Twofish, 3DES and other ciphers.
69
+ * **gpg:** encrypt with AES256, Blowfish, Twofish, 3DES and other ciphers.
69
70
 
70
71
  ### Destination
71
72
 
72
- * **Dir:** backup to local directory.
73
- * **Aws-s3:** upload backup to Amazon S3 storage.
73
+ * **dir:** backup to local directory.
74
+ * **aws-s3:** upload backup to Amazon S3 storage.
75
+ * **ftp:** store backups on FTP server.
@@ -8,3 +8,4 @@ encryption:
8
8
  destination:
9
9
  dir: Backup to local directory
10
10
  aws-s3: Upload backup to Amazon S3 storage
11
+ ftp: Store backups on FTP server
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.0"
4
+ VERSION = "0.5.1"
5
5
  end
@@ -15,6 +15,18 @@ module Siba::C6y
15
15
  def backup(path_to_backup_file)
16
16
  ## examples.rb ##
17
17
  end
18
+
19
+ # Shows the list of backup files stored currently at destination
20
+ # with names starting with 'backup_name'
21
+ #
22
+ # Returns an array of two-element arrays:
23
+ # [backup_file_name, modification_time]
24
+ def get_backups_list(backup_name)
25
+ end
26
+
27
+ # Restoring: put backup file from destination into dir
28
+ def restore(backup_name, dir)
29
+ end
18
30
  end
19
31
  end
20
32
  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.0
4
+ version: 0.5.1
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-01-31 00:00:00.000000000 Z
12
+ date: 2012-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
16
- requirement: &83691080 !ruby/object:Gem::Requirement
16
+ requirement: &84788420 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.10'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *83691080
24
+ version_requirements: *84788420
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &83690410 !ruby/object:Gem::Requirement
27
+ requirement: &84788190 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0.9'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *83690410
35
+ version_requirements: *84788190
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: guard-minitest
38
- requirement: &83689690 !ruby/object:Gem::Requirement
38
+ requirement: &84787960 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0.4'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *83689690
46
+ version_requirements: *84787960
47
47
  description: ! 'SIBA is a backup and restore utility. It implements daily backup rotation
48
48
  scheme. It retains full year history of backups by keeping 23 files in total: for
49
49
  the last 6 days, 5 weeks and 12 months. Backups are archived and encrypted. Various