summaryrefslogtreecommitdiff
path: root/lib/tasks/backup.rake
diff options
context:
space:
mode:
authorSascha Daniels <sd@alternative-solution.de>2013-10-25 13:26:30 +0200
committerSascha Daniels <sd@alternative-solution.de>2013-10-25 13:26:30 +0200
commit355252616286351aa6e8ccc50af35b1f88d44aa8 (patch)
treea12b10951ef9af0e3c19db7f40da7f1bf4945477 /lib/tasks/backup.rake
parenta688b1b98e7df2807d7ecec016f32083993edb4a (diff)
Fixed shell vs. ruby ;-)
Diffstat (limited to 'lib/tasks/backup.rake')
-rw-r--r--lib/tasks/backup.rake6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/backup.rake b/lib/tasks/backup.rake
index 0dbadad..c26bc62 100644
--- a/lib/tasks/backup.rake
+++ b/lib/tasks/backup.rake
@@ -7,13 +7,13 @@ namespace :backup do
desc "Do a backup."
task :queue_a_new_backup => :environment do
backup_job = BackupJob.create
- echo "BackupJob ID: #{backup_job.id}"
+ puts "BackupJob ID: #{backup_job.id}"
end
desc "Do a backup. Now!"
task :force_now => :environment do
backup_job = BackupJob.create(:state => 'force now')
- echo "BackupJob ID: #{backup_job.id}"
+ puts "BackupJob ID: #{backup_job.id}"
end
desc "Restore the system"
@@ -83,4 +83,4 @@ namespace :backup do
end
end
-end \ No newline at end of file
+end