I'm currently coding my own backtest engine and, for the time being, am storing all my data in text files. However, I do anticipate problems when I start to work with intraday data and therefore have recently spent some time investigating the storage issues.
I came across this page...