safe backup + restoring in case something goes south