Catalysis of the reaction: sn-glycerol 3-phosphate + UDP-D-galactose = 2-(alpha-D-galactosyl)-sn-glycerol 3-phosphate + H+ + UDP.
UDP-galactose, sn-3-glycerol phosphate:1->2\' galactosyltransferase activity