The effect of partial substitution of Ni by Mg on the structural, magnetic and spectroscopic properties of the double perovskite Sr2NiTeO6.