Add db's backup method.

- save db
- backup db
- recover db

I think this could be shorter. 5 sec is too long for unit test.