I've never tried it, but something like this should work:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=36&t=47029
It's a similar process to setting up Netatalk on any Ubuntu server to get Apple computers to recognize a Linux server as a Time Machine endpoint.