We consider a Dirac one-electron atom placed in a weak, static, uniform magnetic field. We show that, to the first order in the strength B of the external field, the only electric multipole moments, which are induced by the perturbation in the atom, are those of an even order. Using the Sturmian expansion of the generalized Dirac-Coulomb Green function [R. Szmytkowski, J. Phys. B 30, 825 (1997); 30, 2747(E) (1997)], we derive a closed-form expression for the electric quadrupole moment induced in the atom in an arbitrary discrete energy eigenstate. The result, which has the form of a double finite sum involving the generalized hypergeometric functions 3F2 of the unit argument, agrees with the earlier relativistic formula for that quantity, obtained by us for the ground state of the atom.