diff options
-rw-r--r-- | lib/tasks/backup.rake | 6 |
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 |