benburkert-ey-backup 0.0.3.1 → 0.0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/eybackup +2 -0
- metadata +1 -1
data/Rakefile
CHANGED
data/bin/eybackup
CHANGED
@@ -8,6 +8,8 @@ require 'ey-backup/postgresql_backup'
|
|
8
8
|
options = {:config => '/etc/.mysql.backups.yml',
|
9
9
|
:command => :new_backup}
|
10
10
|
|
11
|
+
options[:config] = '/etc/.postgresql.backups.yml' if File.exists?('/etc/.postgresql.backups.yml')
|
12
|
+
|
11
13
|
# Build a parser for the command line arguments
|
12
14
|
opts = OptionParser.new do |opts|
|
13
15
|
opts.version = "0.0.1"
|