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

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

 

Rebuild utility (rebuild)

Rebuilds a database file.

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

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 Export data with 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