restoring file system to previous setup