If that is something you are worried about, you can just export your spaces regularly into markdown just to make sure, although there is only a very low chance that you get locked out if you take precautions.
Also, you might wanna vote for this feature. This would make it so that you wouldn’t need to export it manually anymore.