Export Webform submission data into external database
Usually the first step to solving a problem like this in Drupal is finding the right hook.

A quick google search for "webform hooks", and then we pick the hook where we'd have access to the completed webform's data: http://api.lullabot.com/hook_webform_submission_insert/7

The example on that page happens to be exactly what you want to do!