customizable backup method