def warnings(model)
@model = model
messages = []
if packaging_folder_dirty?
messages << "The temporary backup folder still contains files!\n'\#{ File.join(Config.tmp_path, @model.trigger) }'\nThis folder may contain completed Archives and/or Database backups.\n"
end
package_files = tmp_path_package_files
unless package_files.empty?
messages << ('-' * 74) unless messages.empty?
messages << "The temporary backup folder '\#{ Config.tmp_path }'\nappears to contain the backup files which were to be stored:\n\#{ package_files.join(\"\\n\") }\n"
end
unless messages.empty?
Logger.warn Errors::CleanerError.new("Cleanup Warning\n\#{ messages.join(\"\\n\") }\nMake sure you check these files before the next scheduled backup for\n'\#{ @model.label } (\#{ @model.trigger })'\nThese files will be removed at that time!\n")
end
end