Considering a representative agent in the market, we study the long-term optimal investment problem in a discrete-time financial market, introducing a set of restrictions in the admissible strategies. The drawdown constraints limit the size of possible losses of the portfolio and impose a floor-based performance measure. The optimal growth rate is characterized, and under suitable hypotheses it is proved that an optimal strategy exists. The approach to solving this problem is based on dynamic programming techniques and a fixed point argument adapted from the theory of Markov decision processes.