Shut Down the Database

Shut down your SAP Sybase IQ database before performing a system-level backup.

Ensure that no one starts the SAP Sybase IQ database until the system-level backup is complete.

Ensuring That the Database is Shut Down

The file protection status of the .db file is read-only when the database is shut down cleanly, and read-write when the database is in use. If you are writing a script to perform backups, make sure the script check the access mode of the file, to be sure that the database is shut down.

To ensure that a database remains shut down, the script can check the size of the .iqmsg file at the start and end of the script to make sure it has not changed. If the database was started while the script was running, the .iqmsg file is larger.