bulletproof pg dump. add lib recipes
refactoring to support backup/restore
use latest master