The question asks for a general answer but gives only one special context.In general, only and but only are not substitutable.*they but only work that way occasionally.In only when , there is a sense of urgency, a slightly more 'involved' writing.It was only when is by comparision more 'relaxed' writing, more like someone is recounting something to someone.Which is grammatically correct?I can only do so much in this time.
Let’s Talk Side Recovery and Carriers -Bailey's Tailgate Talk - Bailey
Let’s Talk Side Recovery and Carriers -Bailey's Tailgate Talk - Bailey

Let’s Talk Side Recovery and Carriers -Bailey's Tailgate Talk - Bailey of Only Bailey Tow Ball Users Are Seeing THIS Insane Gas Mileage Hack. .

17
By 
Or i can do only so much in this time.