summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/backup.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/backup.rake b/lib/tasks/backup.rake
index 8f56015..f08bb39 100644
--- a/lib/tasks/backup.rake
+++ b/lib/tasks/backup.rake
@@ -4,8 +4,8 @@ namespace :backup do
# This would be the daily backup.
end
- desc "Do a backup. Now!"
- task :now => :environment do
+ desc "Do a backup."
+ task :queue_a_new_backup => :environment do
backup_job = BackupJob.create
echo "BackupJob ID: #{backup_job.id}"
end