Restore operations vary depending on where you are restoring the data.
If automatic startup is enabled in your ODBC configuration, users on the same machine as the server may be set up to start the server automatically. Prevent this from happening while you are restoring the database.
Platform | Actions |
---|---|
UNIX | % ps -ef | grep iqsrv15 If you see an active iqsrv15 process with name of a multiplex, stop the process. |
Windows | In Task Manager, look on the Processes tab for iqsrv15.exe, or find the IQ Server icon in the system tray and stop it using right-click and Shutdown. |
Make a file system copy of the .iqmsg file. If you have message log archiving configured, see System Administration Guide: Volume 1 > Data Backup, Recovery, and Archiving > System-Level Backups > Back Up the Right Files.
On each server, preserve any files that were added to IQ_SYSTEM_TEMP for that server. These files are of the form dbname.iqtmp if you used an operating system file, or they may be raw devices. If the IQ temporary store is damaged, start the server with the -iqnotemp switch to drop and recreate the temporary store dbspaces. For more information, see the Release Bulletin.
Either drop the database or delete the following files from the coordinator:
<database_home>/<dbname>.db
<database_home>/<dbname>.log
If a query server is damaged, however, drop it and re-create it after RESTORE. Then follow the instructions in Restoring IQ Store Data When Restoring the Database in a Different Location.
% start_iq -n utility_startup_svr -c 32MB -x tcpip(port=1234)
% dbisql -c "eng=utility_startup_svr;uid=DBA;pwd=SQL; dbn=utility_db"