Maybe not the smartest question - I should already know the answer but, here goes.
Version 12.8; Workgroup Database; Windows Server 2025 Std.
I have AI settings configured in the OE Explorer. Also, my database is set to start in multi-user mode by default.
When the server restarts, I check and see that AI is not enabled.
I run:
rfutil xxxxx -C aimage truncate aiblocksize 16
I see this: ** The database xxxxxx is in use in multi-user mode. (276).
So, I stop the database server, run the same command, mark as backed up (already backed up before the restart), etc.
rfutil xxxx -C aimage truncate -aiblocksize 16
rfutil xxxx -C mark backedup
rfutil xxxx -C aimage begin
rfutil xxxx -C aiarchiver enable
Then, I start the database server.
I would like to automate this process then start the database automatically -- after a server restart.
I suppose I could run a startup command but is there a way to do this within the normal settings - like in the OE Explorer.
My concern is that while I am away from the office, riding my motorcycle, across the beautiful countryside, there could be some kind of power loss at the facility, coupled by an earthquake, causing the natural gas generator to stop supplying power. Then when all is up, the system will restart but after imaging will not be running. It may be a few days before I am back in the office to check on things and schedule a database shutdown.
I am wondering what you guys would do. In this kind of scenario, I would actually run a backup and name it differently than my normal backups so I know that it is a special one.
I would like to consider the "Best Practice" rather than do my own thing as I believe that nearly all OE DBAs are smarter/more experienced than me.
Thanks in advance!
Version 12.8; Workgroup Database; Windows Server 2025 Std.
I have AI settings configured in the OE Explorer. Also, my database is set to start in multi-user mode by default.
When the server restarts, I check and see that AI is not enabled.
I run:
rfutil xxxxx -C aimage truncate aiblocksize 16
I see this: ** The database xxxxxx is in use in multi-user mode. (276).
So, I stop the database server, run the same command, mark as backed up (already backed up before the restart), etc.
rfutil xxxx -C aimage truncate -aiblocksize 16
rfutil xxxx -C mark backedup
rfutil xxxx -C aimage begin
rfutil xxxx -C aiarchiver enable
Then, I start the database server.
I would like to automate this process then start the database automatically -- after a server restart.
I suppose I could run a startup command but is there a way to do this within the normal settings - like in the OE Explorer.
My concern is that while I am away from the office, riding my motorcycle, across the beautiful countryside, there could be some kind of power loss at the facility, coupled by an earthquake, causing the natural gas generator to stop supplying power. Then when all is up, the system will restart but after imaging will not be running. It may be a few days before I am back in the office to check on things and schedule a database shutdown.
I am wondering what you guys would do. In this kind of scenario, I would actually run a backup and name it differently than my normal backups so I know that it is a special one.
I would like to consider the "Best Practice" rather than do my own thing as I believe that nearly all OE DBAs are smarter/more experienced than me.
Thanks in advance!
Last edited: