Rearing facility comprising: - two posts (102a-c), - a rail (104a-b) rotatably mounted between the two posts (102a-c) about a horizontal axis of rotation, successively between a first locking position in which the rail (104a-b) extends vertically, a release position in which the rail (104a-b) extends horizontally, and a second locking position in which the rail (104a-b) extends vertically, wherein the rail (104a-b) has, for each post (102a-c), a bar rotatably mounted around the axis of rotation on the post (102a-c), - a drive and locking system arranged on one of the posts for driving the rail (104a-b) in rotation about the axis of rotation, wherein the system comprises: - a first wheel coaxially attached to the bar corresponding to said post, - a second wheel mounted freely in rotation on said post and whose axis of rotation is parallel to the axis of rotation of the rail (104a-b), - a flexible link forming a loop between the two wheels (154, 158), characterised in that the rearing facility further comprises: - a clamping system with two jaws (170a-b) movable horizontally relative to each other between a clamped position in which the flexible link is clamped between the two jaws (170a-b), and an released position in which the flexible link is not clamped between the two jaws (170a-b), - a first actuating system which actuates the jaws (170a-b) to move them alternately from the clamped position to the released position, - a second actuating system to which the clamping system is attached and which is arranged to move the clamping system between the two wheels (154, 158), and - a control unit which controls the first actuating system and the second actuating system. - two posts (102a-c), - a rail (104a-b) rotatably mounted between the two posts (102a-c) about a horizontal axis of rotation, successively between a first locking position in which the rail (104a-b) extends vertically, a release position in which the rail (104a-b) extends horizontally, and a second locking position in which the rail (104a-b) extends vertically, wherein the rail (104a-b) has, for each post (102a-c), a bar rotatably mounted around the axis of rotation on the post (102a-c), - a drive and locking system arranged on one of the posts for driving the rail (104a-b) in rotation about the axis of rotation, wherein the system comprises: - a first wheel coaxially attached to the bar corresponding to said post, - a second wheel mounted freely in rotation on said post and whose axis of rotation is parallel to the axis of rotation of the rail (104a-b), - a flexible link forming a loop between the two wheels (154, 158), - a clamping system with two jaws (170a-b) movable horizontally relative to each other between a clamped position in which the flexible link is clamped between the two jaws (170a-b), and an released position in which the flexible link is not clamped between the two jaws (170a-b), - a first actuating system which actuates the jaws (170a-b) to move them alternately from the clamped position to the released position, - a second actuating system to which the clamping system is attached and which is arranged to move the clamping system between the two wheels (154, 158), and - a control unit which controls the first actuating system and the second actuating system.