siba 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -5
- data/lib/siba/plugins/plugins.yml +1 -0
- data/lib/siba/version.rb +1 -1
- data/scaffolds/destination.rb +12 -0
- metadata +8 -8
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
|
-
* **
|
60
|
+
* **files:** backup local files and directories.
|
61
|
+
* **mongo-db:** backup and restore MongoDB
|
61
62
|
|
62
63
|
### Archive
|
63
64
|
|
64
|
-
* **
|
65
|
+
* **tar:** archive with optional gzip or bzip2 compression.
|
65
66
|
|
66
67
|
### Encryption
|
67
68
|
|
68
|
-
* **
|
69
|
+
* **gpg:** encrypt with AES256, Blowfish, Twofish, 3DES and other ciphers.
|
69
70
|
|
70
71
|
### Destination
|
71
72
|
|
72
|
-
* **
|
73
|
-
* **
|
73
|
+
* **dir:** backup to local directory.
|
74
|
+
* **aws-s3:** upload backup to Amazon S3 storage.
|
75
|
+
* **ftp:** store backups on FTP server.
|
data/lib/siba/version.rb
CHANGED
data/scaffolds/destination.rb
CHANGED
@@ -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.
|
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-
|
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: &
|
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: *
|
24
|
+
version_requirements: *84788420
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
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: *
|
35
|
+
version_requirements: *84788190
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: guard-minitest
|
38
|
-
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: *
|
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
|