AND IF I WANT TO PULL THE DATA into a sql server so i can store the data
What data are you wanting to store? You never need to store packets, you just need to buffer them until you can send them along the proper destination.
I HAVE DATA COMMING IN FORM THE SERIAL PORT THAT I WNAT TO BUFFER ON THE BOARD IF THE WLAN CONNECTION IS LOST AS THE RB WILL BE MOVING AROUND
SO IF THE CONNECTION IS LOST FOR 1 SEC OR SOMTHING
What are you using the serial port for? The only mikrotik packages that use the serial port are UPS & GPS, neither of which need to have data stored.
Routerboards are not servers, they are routers
, they don't have the storage for databases.
Store the items on a server
. You can log to a remote syslog
server. And if you want to store a copy of the traffic look into netflow
, packet sniffer