pxcbackup 0.0.1 → 0.0.2

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: c6bd1e6689acf97d87e4c7afa3ee9096fb730ea1
4
- data.tar.gz: 182605c2e2341e9b453a667ad399441c27611235
3
+ metadata.gz: 048fb039a8728b1281f0e6525e67570b4c218f51
4
+ data.tar.gz: d93238bcc021b538bf75c8551fc79e9631b6d976
5
5
  SHA512:
6
- metadata.gz: 229b9f667f762529c9cd63e95a2f77bb79fa7e53fae577d4cde0fe2fdb5cfea711436981e11ce8da1655009abca45055640181a7234c53b32ca5aa8744a1277c
7
- data.tar.gz: 3ebb735a23741bbff57790c9900855ab51277c7d931bf7ce55ade393fc0e86e8e3178a2d47a9712533be8506dd81c90d015d4519e0f48a2634962306950677c4
6
+ metadata.gz: 60ee86b267cfa743ab4ecf8bc7b792272a6fe3fbed583697cffdcc55be51087bceada6d92462342103c49fa3c11769cde53c4e72c3361215ed958b1681765f24
7
+ data.tar.gz: c88134fb4dc0ad0345bb860d1ccdb10bd17cfbd65e2bbe7556fc6ac68e0d4bbfdc80189cf96b857821fba02468d84faacadedbfc79380f2ecefb83088fecb1ec
data/README.md CHANGED
@@ -18,7 +18,7 @@ PXCBackup is basically a server command line tool, which means the following con
18
18
 
19
19
  * Support ruby >= 1.8.7. Yes, 1.8.7 is EOL, but many cloud provider OS images still contain 1.8.7.
20
20
  * Have no external gem dependencies. This tool should be completely stand-alone, and only require certain command line tools.
21
- * Instead, execute command line tools. For example, it uses the `mysql` and `s3cmd` instead of modules / gems.
21
+ * Instead, execute command line tools. For example, it uses the `mysql` and `s3cmd` tools instead of modules / gems.
22
22
 
23
23
  ## Installation
24
24
 
@@ -38,7 +38,7 @@ module PXCBackup
38
38
  desync_wait = options[:desync_wait] || 60
39
39
  retention = options[:retention] || 100
40
40
 
41
- raise 'cannot find backup dir' unless @local_repo && File.directory?(local_repo.path)
41
+ raise 'cannot find backup dir' unless @local_repo && File.directory?(@local_repo.path)
42
42
  raise 'cannot enable encryption without encryption key' if @encrypt && !@encrypt_key
43
43
 
44
44
  arguments = [
@@ -114,7 +114,7 @@ module PXCBackup
114
114
  end
115
115
  end
116
116
 
117
- if incremental_backups.any?
117
+ if incremental_backups.any?
118
118
  log_action " Preparing base backup (LSN #{full_backup_info[:to_lsn]})" do
119
119
  innobackupex(['--apply-log', '--redo-only', full_backup_path.shellescape])
120
120
  end
@@ -1,3 +1,3 @@
1
1
  module PXCBackup
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pxcbackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robbert Klarenbeek