Skip to content

Commit

Permalink
Default to backup files unless skip files is set
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Jul 25, 2010
1 parent b446092 commit 1110018
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tasks/backup.rake
Expand Up @@ -80,9 +80,10 @@ namespace "cms" do
DomainFile.find_in_batches(:conditions => 'file_type != "fld"') { |files| files.each { |file| file.filename } }
end

cms_backup_file_store(dmn.file_store,domain_dir)
end

cms_backup_file_store(dmn.file_store,domain_dir) unless ENV['SKIP_FILES']

puts("...Done")
end

Expand Down

0 comments on commit 1110018

Please sign in to comment.