pull database using replication