Depending on your requirements you can either look at data replication systems to transfer the data as is. There are a lot of commercial and open source tools around. You can take a look at the source code and documentation of SymmetricDS
If you need to do some conversion and processing you can take a look at ETL (Extraction, Transformation, Load) tools. Most datawarehouse books have chapters on that subject, an example is Here