Add rake task to replicate current backlog and exit when empty

Forgot to mention before, but the RAILS_ENV should not be set here.  It will be inherited automatically, so there's no need for the env setting at all.  If you really *did* need it I think `{"RAILS_ENV" => Rails.env}` would be better, but I think it can be removed it altogether.