added funcs for querying/interacting with backup db. rbup cmd now shortcuts if whole sha is same