summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-05 17:30:45 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-05 17:30:45 +0100
commita865b1f9506b900ed8643c01d94c86268e907720 (patch)
tree62e82c385c9a804a8f32da6f276881ff8c21fc90 /config
parent00db10565a2b1906728087eeb95542214720fb23 (diff)
Added voicemails and recordings to the backup/restore. #195
Diffstat (limited to 'config')
-rw-r--r--config/backup.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/backup.rb b/config/backup.rb
index 0cb6a32..2c2984b 100644
--- a/config/backup.rb
+++ b/config/backup.rb
@@ -46,6 +46,15 @@ Backup::Model.new(:GS5, 'GS5 backup') do
end
##
+ # Voicemails
+ #
+ if File.exists?('/var/opt/gemeinschaft/freeswitch/recordings')
+ archive :recordings do |archive|
+ archive.add '/var/opt/gemeinschaft/freeswitch/recordings'
+ end
+ end
+
+ ##
# Avatars
#
if File.exists?('/opt/gemeinschaft/public/uploads/user/image')