The default installation has a sample export script for csv.
Perhaps you need extra information like in this thread: