diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-27 22:52:55 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-27 22:52:55 +0100 |
commit | 5c87034a0448af2e2bd3f4de3bbaba4d482d1f7e (patch) | |
tree | b83143885e0cfa1dd07781e4d3d9d2c41d5e0acd /config | |
parent | 46eb56627a0d1f5142b79b476bbeb96f91a157d9 (diff) | |
parent | bd6c11cb371c614e66922290fb239cec04eb67ea (diff) |
Merge branch 'develop'5.1-beta8
Diffstat (limited to 'config')
-rw-r--r-- | config/backup.rb | 9 |
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| |