THIS PAGE HAS NOT YET BEEN UPDATED FOR VERSION 2.0
The FLAST command will give the last N status updates for a user, so:
fbcmd FLAST =me 99999
will return all* of your status updates.
The FSTREAM command will give the last N posts to your stream (wall), so:
fbcmd FSTREAM =me 99999 -csv
will return all* of your stream posts
and note that
fbcmd FSTREAM =ME new -csv
will return any posts since your last query, which is useful for incremental backups. You may wish to play with the various *STREAM Preferences to control the output.
Note that large comment threads on each post are not returned automatically by FSTREAM, and so you will have to use a FULLPOST command to retrieve individual comment threads, which could be done in some kind of wrapper script.
*Note: Facebook does put a limit on the number of updates / posts it returns. The limit is currently undocumented.