If temporary dbfiles cannot be opened or are damaged, you can restore the database to a different temporary file topology.
- Start the utility server so it ignores all temporary IQ file
definitions in the backed up database during the restore:
start_iq -n utility_startup_svr -c 32m
-x 'tcpip{port=1234}' -iqnotemp
- Restore the database:
RESTORE DATABASE 'iqdemo'
FROM '/system1/IQ16/IQ-16_0/demo/backup/iqmain'
- Restart the restored database using the -iqnotemp flag:
- Drop all the files in IQ_SYSTEM_TEMP:
ALTER DBSPACE IQ_SYSTEM_TEMP DROP FILE ALL
- Restart the server without the -iqnotemp flag:
- Add new temporary dbfiles to IQ_SYSTEM_TEMP: