summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/backup.rake4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tasks/backup.rake b/lib/tasks/backup.rake
index c4a4b47..39a4282 100644
--- a/lib/tasks/backup.rake
+++ b/lib/tasks/backup.rake
@@ -44,6 +44,10 @@ namespace :backup do
FaxDocument.all.each do |fax_document|
fax_document.render_thumbnails
end
+
+ # Delete the restore_job. No need to waste that space.
+ #
+ restore_job.destroy
end
end