db rake task for exporting graph