Transfering databases works (for me, at least).
Serve the media directory from apache too.