If you have time and budget, I would suggest you sync through API, as DB structure may change, your script works now may not work later if there's a major magento update, but API will adapt it.
http://www.magentocommerce.com/api/soap/introduction.html