Run db in background