The backup functionality should lock / close the database before starting, and should not be allowed to execute if there are any tasks on the queue.