Premise Server automatically makes periodic backups. When it restarts, it loads the last backup.
If there is something wrong with the most recent backup, it loads the previous backup. It keeps falling back in this manner until it finds a backup that loads without incident. If all available backups fail to load, it defaults to loading the default "skeleton" which, naturally, doesn't contain any of your modifications.
I suspect there has been something wrong in one of your scripts that has been included in all backup copies. It may even explain the error message you've seen about the script queue.
All of the content in a Premise backup file is in XML format. The problem might be as trivial as an invalid XML character. The "School of Hard Knocks" thread ("
Steer clear of special characters when scripting!") documents a well-known bug in Premise where it will allow the entry of an invalid XML character, save it in a backup, and then refuse to read the backup (the same holds true for an exported Module).
If this is the cause of the problem, it is easy to correct it. It has happened to me a few times. The problem, and its solution, is
documented here. It involves opening the last backup file with Internet Explorer (IE). IE is very stringent when it comes to malformed XML files and will stop loading the backup file at the offending line of XML. Make a not of the faulty XML, close IE, re-open the backup file with a text editor and correct the XML error.
Now here comes some tough love:
I haven't actively participated in this forum for several months; however, I have monitored it from time to time. I've noticed that you've had more than your fair share of problems using Premise. You've indicated that you've read all of the documentation and viewed the videos, yet several of your posted questions reflect a lack of understanding of the product's core principles of operation.
I recommend you stop and consider your options. Premise may not be a good fit for you. There are other Home Automation programs that may make your life easier. Few are free but several are affordable.
On the other hand, if you wish to continue using Premise then I suggest you review the documentation (and videos) and start building your Premise Home slowly. I use one PC for experimentation (test system) and a second one for controlling my home (production system). I don't experiment with my production system and, before each modification, I manually create a backup.
Whatever your decision, I wish you well in your journey to automate your home. Good luck!