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

SQL Anywhere 11.0.0 » SQL Anywhere Server - Database Administration » Administering Your Database » Database administration utilities


Rebuild utility (rebuild)

Rebuilds a database file.

rebuild old-database new-database [ DBA-password ]

This batch file or shell script uses dbunload to rebuild old-database into new-database. Both database names should be specified without extensions. An extension of .db is automatically added.

The DBA-password must be specified if the password for the DBA user in the old-database is not the initial password sql.

Rebuild runs the dbunload command with the -an option.

You can also rebuild databases as part of the unload process using the Unload Database Wizard in Sybase Central. See Using the Unload Database Wizard.

Exit codes are 0 (success) or non-zero (failure). See Software component exit codes.

This utility does not accept the @data parameter to read in options from a configuration file.

See also