backup-remote 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1dc51aa59099a0bf9406f503155f31630759586e
4
- data.tar.gz: cea4e466d787dad9e31bb7d34ebef3972f141295
3
+ metadata.gz: f34a3a0fa7801434d9451ca9e328afdc09ff3d22
4
+ data.tar.gz: d3b35356d2bca06636de49be0eee14ffcb621e73
5
5
  SHA512:
6
- metadata.gz: 246ae877464476b31e954cd8e0a0ef37e5ca737fd43094579427f095153364bf334b0e663d3692ed757b0044d5b2b12e46cfcbbfff320e59c8a4b98801b259ec
7
- data.tar.gz: 3d97561e03e95b86a46c7491bd54518f271d6895586a3f966c284855e2e7de6da1bb06b85e8a87715fc2ee9449573db737814236a712226661f2b19f8b1295a3
6
+ metadata.gz: 5ef67d3cf1b5b005269644149ace6be149f4a2cfa3d7a9488fbfa373e49d4517224db6c53d9a8631f3f31e6b0cfe750547f20e48f17e3dae06699bc8a6e8273e
7
+ data.tar.gz: fd3763f76c453a57c8164c2f7e2c3eeeeecca815e93c136ebd212b6fc664159e0b1e465967b8dae4515a7f0ebc6641608573242a9080add8f80e481e62dc0cd1
data/README.md CHANGED
@@ -6,6 +6,11 @@ If you use backup gem you should run `backup perform` on the machine where resou
6
6
 
7
7
  This gem adds support for models to perform backups on a remote server.
8
8
 
9
+ This gem realizes pull strategy when the backup files are pulled from the remote server to the backup server and then backup files are distributed to backup storages.
10
+ Backup gem realizes as push strategy when the backup files are created and pushed from remote server to backup storages from the server itself.
11
+
12
+ It means that for using backup-remote gem you don't need to setup additional software on the remote server (like ruby, gems, etc) to perform backups.
13
+ Only ssh access is needed for the remote server.
9
14
 
10
15
 
11
16
  Backup is a system utility for Linux and Mac OS X, distributed as a RubyGem, that allows you to easily perform backup
@@ -169,6 +174,7 @@ Options:
169
174
 
170
175
  * command - command to run to generate backup on server. Not used if script is specified.
171
176
  * script - path to script file to upload and run on server to generate backup. Script is stored locally nad is uploaded to server.
177
+ script path is relative to root-path.
172
178
 
173
179
 
174
180
 
@@ -75,6 +75,10 @@ module Backup
75
75
  if remote_script && remote_script!=""
76
76
  # use script
77
77
  # upload script
78
+
79
+ puts "config root: #{Config.root_path}"
80
+ puts "config: #{Config.inspect}"
81
+
78
82
  local_script_path = File.join(Config.root_path, remote_script)
79
83
 
80
84
  f_remote = Tempfile.new('backup')
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Backup
4
- VERSION = '0.0.7'
4
+ VERSION = '0.0.8'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup-remote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Ivak, Michael van Rooijen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-16 00:00:00.000000000 Z
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList