To my understanding Flume is not meant for that.
Flume is basically for reading log like data sources(flat files) and pushing them in a structured way to a sink.
Sqoop can be of use, try it out
http://archive.cloudera.com/cdh/3/sqoop/SqoopUserGuide.html