summaryrefslogtreecommitdiff
path: root/config/backup.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-01 15:36:59 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-01 15:36:59 +0100
commitaad8a03991fe616f84fa18ed1db81831220f8d64 (patch)
tree407c989d53244eba825df996a021669765ba43dc /config/backup.rb
parentf46bfd1618f85842913dd967133f111ec2628fef (diff)
Added faxes and voicemails to the backup job.
Diffstat (limited to 'config/backup.rb')
-rw-r--r--config/backup.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/backup.rb b/config/backup.rb
index 4a48ac5..c3da9bc 100644
--- a/config/backup.rb
+++ b/config/backup.rb
@@ -27,6 +27,21 @@ Backup::Model.new(:gs5, 'GS5 backup') do
end
##
+ # Faxes
+ #
+ archive :faxes do |archive|
+ archive.add '/opt/gemeinschaft/public/uploads/fax_document/'
+ archive.add '/opt/gemeinschaft/public/uploads/fax_thumbnail/'
+ end
+
+ ##
+ # Voicemails
+ #
+ archive :voicemails do |archive|
+ archive.add '/var/opt/gemeinschaft/freeswitch/voicemail/'
+ end
+
+ ##
# Local (Copy) [Storage]
#
store_with Local do |local|