Replace the db instance file