Add rake task to replicate current backlog and exit when empty