diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-27 10:27:12 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-27 10:27:12 +0100 |
commit | 1ae07d45144b46d8a88eed74ac9131c4d9c9e557 (patch) | |
tree | 3af005c6ac90857e9621ded2115bae0641396d8f | |
parent | 15d5f410afafce67b61a27479a21546cebd48ed9 (diff) |
Only do a backup of specific file extensions (faxes).
-rw-r--r-- | config/backup.rb | 4 |
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 |