diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-07 11:46:39 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-07 11:46:39 +0100 |
commit | 26eae9e70097be1cbff8baba9c3641512bcf6635 (patch) | |
tree | e7f5489ba14fd53fab3c8467ad2467219e050026 /config/backup.rb | |
parent | 45761a957746f9787ffe438b14014a6913cfabcf (diff) |
Different syntax.
Diffstat (limited to 'config/backup.rb')
-rw-r--r-- | config/backup.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/backup.rb b/config/backup.rb index 0057f01..e5816c1 100644 --- a/config/backup.rb +++ b/config/backup.rb @@ -29,8 +29,8 @@ Backup::Model.new(:GS5, 'GS5 backup') do ## # Faxes # - archive :faxes do |archive| - if File.exists?('/opt/gemeinschaft/public/uploads/fax_document') + if File.exists?('/opt/gemeinschaft/public/uploads/fax_document') + archive :faxes do |archive| archive.add '/opt/gemeinschaft/public/uploads/fax_document' end end @@ -38,8 +38,8 @@ Backup::Model.new(:GS5, 'GS5 backup') do ## # Voicemails # - archive :voicemails do |archive| - if File.exists?('/var/opt/gemeinschaft/freeswitch/voicemail') + if File.exists?('/var/opt/gemeinschaft/freeswitch/voicemail') + archive :voicemails do |archive| archive.add '/var/opt/gemeinschaft/freeswitch/voicemail' end end |