How to reset all changes in meshes object (scene, texture, material)

Hi @all, I uploaded the mesh and changes their value using adding button functionality, Now I want to reset all changes that i applied in mesh,
can anyone tells me how to do this type of functionality???

Save the previous values in a variable, then set them back.