If temporary dbfiles cannot be opened or are damaged, you can restore the database to a different temporary file topology.
- Start the utility server in such a way that it ignores all temporary IQ file definitions in the backed up database during the restore:
start_iq -n utility_startup_svr -c 32MB
-x tcpip(port=1234) -iqnotemp
- Restore the database:
RESTORE DATABASE 'iqdemo'
FROM '/system1/IQ15/IQ-15_4/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: