Context. EX Lupi is a young, accreting M0 star and the prototype of EXor variable stars. Its spectrum is very rich in emission lines, including many metallic lines with narrow and broad components. The presence of a close companion has also been proposed, based on radial velocity signatures. Aims: We use the metallic emission lines to study the accretion structures and to test the companion hypothesis. Methods: We analyse 54 spectra obtained during five years of quiescence time. We study the line profile variability and the radial velocity of the narrow and broad metallic emission lines. We use the velocity signatures of different species with various excitation conditions and their time dependency to track the dynamics associated with accr...