Terminal content getting erased in tmux session

I’m using tmux to login to my server. After using the terminal for sometime, if i scroll up I’m loosing all the content. I tried searching for the issue, may be some mismatching buffer size of my terminal and server’s terminal. How to solve this issue? so that i can retain everything i do on my terminal.

Thanks… my bad couldn’t search properly.