First, you should do a system backup while there is nothing configured (extensions, trunks, IVR, ring groups, etc.) - you should exclude call recordings and voicemail messages from the backup.
Whenever you need to revert back to the "blank configuration", just execute a restore using this backup file.