Added backup feature with custom interval