add rotation backup with default 3 generations
add h.books.last null check in rakefile