Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere Agent utilities reference » qaagent utility


-su option

Upgrades a client message store to the current version.

qaagent -su -c "connection-string" ...

This option is useful if you want to perform custom actions after the unload/reload and before the qaagent upgrade. Use the -sur option if you are upgrading from a pre-10.0.0 message store and you want the Agent to automatically perform the unload/reload step for you.

If you are upgrading from a pre-10.0.0 message store, you must first manually unload and reload the message store.

This operation exits when the upgrade is complete.

This operation cannot be undone.

See also

To upgrade from a version 9 database, first, unload and reload the database:

dbunload  -q  -c "UID=dba;PWD=sql;DBF=qanywhere.db" -ar

Next, run qaagent with the -su option:

qaagent -q -su -c "UID=dba;PWD=sql;DBF=qanywhere.db"