summaryrefslogtreecommitdiff
path: root/config/backup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/backup.rb')
-rw-r--r--config/backup.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/backup.rb b/config/backup.rb
index b50f7a8..88edd94 100644
--- a/config/backup.rb
+++ b/config/backup.rb
@@ -62,6 +62,15 @@ Backup::Model.new(:GS5, 'GS5 backup') do
end
##
+ # Avatars
+ #
+ if File.exists?('/opt/gemeinschaft/public/uploads/user/image')
+ archive :avatars do |archive|
+ archive.add '/opt/gemeinschaft/public/uploads/user/image'
+ end
+ end
+
+ ##
# Local (Copy) [Storage]
#
store_with Local do |local|