You must stop the Net Search Extender services
before backing up or restoring enabled databases and text indexes.
Procedure
- To back up enabled databases and text indexes created by Net Search Extender:
- Find out which indexes Net Search Extender has
created and where they are stored.
Call a select statement
on the db2ext.textindexes view:
db2 "select indschema, indname, indexdirectory from db2ext.textindexes"
- Ensure that no index update is running, and then stop Net Search Extender services.
Issue the following command:
db2text stop
- After backing up the database, back up the index directories
and subdirectories.
- Restart Net Search Extender services.
Issue the following command:
db2text start
- To restore the enabled databases and text indexes created
by Net Search Extender:
- Stop Net Search Extender.
Issue the following command:
db2text stop
- Restore the backup copies of the index directories to
the same path as before.
- Restart Net Search Extender.
Issue the command:
db2text start