summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-27 10:27:12 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-27 10:27:12 +0100
commit1ae07d45144b46d8a88eed74ac9131c4d9c9e557 (patch)
tree3af005c6ac90857e9621ded2115bae0641396d8f /config
parent15d5f410afafce67b61a27479a21546cebd48ed9 (diff)
Only do a backup of specific file extensions (faxes).
Diffstat (limited to 'config')
-rw-r--r--config/backup.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/backup.rb b/config/backup.rb
index 2a866ef..04cadb9 100644
--- a/config/backup.rb
+++ b/config/backup.rb
@@ -32,7 +32,9 @@ Backup::Model.new(:GS5, 'GS5 backup') do
#
if File.exists?('/var/opt/gemeinschaft/fax')
archive :faxes do |archive|
- archive.add '/var/opt/gemeinschaft/fax'
+ archive.add '/var/opt/gemeinschaft/fax/in/*.pdf'
+ archive.add '/var/opt/gemeinschaft/fax/out/*.pdf'
+ archive.add '/var/opt/gemeinschaft/fax/out/*.tiff'
end
end