The configuration files are in /home/user/config/ProfileMatic Copying that folder to reflashed device is enough to restore settings. Exception is if you have availability changes. You might need to make them again until they work.