We consider the parameter estimation problem for the Ornstein–Uhlenbeck process X driven by a fractional Ornstein–Uhlenbeck process V, i.e. the pair of processes defined by the non-Markovian continuous-time long-memory dynamics , with , where and are unknown parameters, and is a fractional Brownian motion of Hurst index . We study the strong consistency as well as the asymptotic normality of the joint least squares estimator of the pair , based either on continuous or discrete observations of as the horizon T increases to +. Both cases qualify formally as partial-observation questions since V is unobserved. In the latter case, several discretization options are considered. Our proofs of asymptotic normality based on discrete data, rely on increasingly strict restrictions on the sampling frequency as one reduces the extent of sources of observation. The strategy for proving the asymptotic properties is to study the case of continuous-time observations using the Malliavin calculus, and then to exploit the fact that each discrete-data estimator can be considered as a perturbation of the continuous one in a mathematically precise way, despite the fact that the implementation of the discrete-time estimators is distant from the continuous estimator. In this sense, we contend that the continuous-time estimator cannot be implemented in practice in any naïve way, and serves only as a mathematical tool in the study of the discrete-time estimators’ asymptotics.