This paper studies an M/G/1 repairable queueing system with multiple vacations and N-policy, in which the service station is subject to occasional random breakdowns. When the service station breaks down, it is repaired by a repair facility. Moreover, the repair facility may fail during the repair period of the service station. The failed repair facility resumes repair after completion of its replacement. Under these assumptions, applying a simple method, the probability that the service station is broken, the rate of occurrence of breakdowns of the service station, the probability that the repair facility is being replaced and the rate of occurrence of failures of the repair facility along with other performance measures are obtained. Following the construction of the long-run expected cost function per unit time, the direct search method is implemented for determining the optimum threshold N* that minimises the cost function.