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.

(b) except onlyÒ€ℒ, and comments that its use is now poetical. Which is grammatically correct? I can only do so much in this time. Or i can do only so much in this time.